Skip to content
Unverified Commit ff5cecf8 authored by aszlig's avatar aszlig
Browse files

autoPatchelfHook: Patch PIC exes/libs as well



If there is a shared object or executable that's using
position-independent code, the file's mime type is
"application/x-pie-executable", so until this change its dependencies
wouldn't be patched.

This simply adds the mime type to the search loop.

Signed-off-by: default avataraszlig <aszlig@nix.build>
parent 673628e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment