diff options
Diffstat (limited to 'pkgs/build-support/setup-hooks/auto-patchelf.sh')
-rw-r--r-- | pkgs/build-support/setup-hooks/auto-patchelf.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/setup-hooks/auto-patchelf.sh b/pkgs/build-support/setup-hooks/auto-patchelf.sh index 0f9d7603d48f..f40cdcf4cadf 100644 --- a/pkgs/build-support/setup-hooks/auto-patchelf.sh +++ b/pkgs/build-support/setup-hooks/auto-patchelf.sh @@ -15,6 +15,7 @@ findElfs() { while [ -n "$1" ]; do mimeType="$(file -b -N --mime-type "$1")" if [ "$mimeType" = application/x-executable \ + -o "$mimeType" = application/x-pie-executable \ -o "$mimeType" = application/x-sharedlib ]; then echo "$1" fi |