-
Notifications
You must be signed in to change notification settings - Fork 95
Description
Hi,
We have a component that is composed of an application and a bunch of shared libraries.
The application has been designed to be relocatable and compliant with AppDir specification and thus has it's rpath starting with $ORIGIN/../lib. Some libraries it depends on are also starting with $ORIGIN.
When producing the AppImage, everything works fine except for the strip part which is left out only for binaries starting with $. It thus makes the AppImage way bigger than it should be because of leftover debug symbols.
I know I could work around the problem by first creating the AppImage, then extract it, strip everything and recreate it but it feels like something the tool should normally do in the first place.
I've seen in the code an explicit check for this here but I don't understand the rationale for it as stripping a binary and rpath seem unrelated concepts.
What did I miss ?
Is this a leftover of previous checks ? If it's intentional what's the rationale for it ?