haampie / libtree

ldd as a tree
MIT License
2.67k stars 60 forks source link

Shipping chrpath and strip #9

Closed haampie closed 3 years ago

haampie commented 4 years ago

Currently chrpath and strip are shipped in the releases and added to the path via a shell script. But when building from source and running make install there's no guarantee chrpath and strip are available (and they will fail silently if not).

Maybe it's best to just remove chrpath and strip from the release and make the user install them. A warning could be added when --strip, --chrpath and -d are set but the tools are not available.

otreblan commented 4 years ago

Currently chrpath and strip are shipped in the releases and added to the path via a shell script. But when building from source and running make install there's no guarantee chrpath and strip are available (and they will fail silently if not).

Maybe it's best to just remove chrpath and strip from the release and make the user install them. A warning could be added when --strip, --chrpath and -d are set but the tools are not available.

Added binutils and chrpath to the optional dependency list: https://aur.archlinux.org/packages/libtree/

haampie commented 3 years ago

Closing after v2.0.0