Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: aszlig <aszlig@nix.build> (cherry picked from commit ff5cecf) Reason: The fix is non-intrusive and should not break anything that wasn't broken before. I've tested whether oracle-instantclient builds and it still does. Other than that no other package is using autoPatchelfHook in NixOS 18.03.
- Loading branch information