kiss-community / kiss

KISS - Package Manager, mirror of https://codeberg.org/kiss-community/kiss
https://kisslinux.org/package-manager
MIT License
17 stars 11 forks source link

kiss: ignore libraries with RPATH in dependency detector #69

Closed git-bruh closed 2 years ago

git-bruh commented 2 years ago

@illiliti

git-bruh commented 2 years ago

Wait this doesn't handle the case where multiple values are set after $ORIGIN like $ORIGIN/../lib:/usr/lib/junk

git-bruh commented 2 years ago

Oh I missed your replies to my messages on IRC somehow. The other way is to get dirname of the interpreter and use that as the default search path but that's as unportable as this solution is

Also I feel it doesn't matter that much cuz let's say /usr/lib or /lib aren't in the default search path. Then it's quite likely that nothing will ever be installed there either

git-bruh commented 2 years ago

Or maybe just find all packages that set rpath to /usr/lib (or equivalent default value) and prevent them from setting it but that's extra effort for new packagss

git-bruh commented 2 years ago

merging without hardcoding /usr/lib