aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hooks/post-install/06-strip-and-debug-pkgs.sh2
-rw-r--r--common/hooks/pre-pkg/04-generate-runtime-deps.sh2
-rw-r--r--common/hooks/pre-pkg/06-shlib-provides.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/hooks/post-install/06-strip-and-debug-pkgs.sh b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
index 0972f7e3441..bd4cdbd6122 100644
--- a/common/hooks/post-install/06-strip-and-debug-pkgs.sh
+++ b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
@@ -114,7 +114,7 @@ hook() {
attach_debug "$f"
fi
;;
- application/x-sharedlib*)
+ application/x-sharedlib*|application/x-pie-executable*)
chmod +w "$f"
# shared library
make_debug "$f"
diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
index 66a67bb7cb7..556fbc87ef6 100644
--- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh
+++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh
@@ -74,7 +74,7 @@ hook() {
continue
fi
case "$(file -bi "$f")" in
- application/x-executable*|application/x-sharedlib*)
+ application/x-*executable*|application/x-sharedlib*)
for nlib in $($OBJDUMP -p "$f"|grep NEEDED|awk '{print $2}'); do
if [ -z "$verify_deps" ]; then
verify_deps="$nlib"
diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh
index 785a7f39059..e4a20063331 100644
--- a/common/hooks/pre-pkg/06-shlib-provides.sh
+++ b/common/hooks/pre-pkg/06-shlib-provides.sh
@@ -16,7 +16,7 @@ collect_sonames() {
find ${_destdir} -type f -name "*.so*" | while read f; do
_fname="${f##*/}"
case "$(file -bi "$f")" in
- application/x-sharedlib*)
+ application/x-sharedlib*|application/x-pie-executable)
# shared library
_soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}')
# Register all versioned sonames, and