06-strip-and-debug-pkgs.sh: detect PIE binaries.
This commit is contained in:
parent
ea96fc3cce
commit
3f43576971
1 changed files with 5 additions and 1 deletions
|
@ -109,7 +109,11 @@ hook() {
|
||||||
msg_red "$pkgver: failed to strip ${f#$PKGDESTDIR}\n"
|
msg_red "$pkgver: failed to strip ${f#$PKGDESTDIR}\n"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
if file $f | grep -q "interpreter "; then
|
||||||
|
echo " Stripped position-independent executable: ${f#$PKGDESTDIR}"
|
||||||
|
else
|
||||||
echo " Stripped library: ${f#$PKGDESTDIR}"
|
echo " Stripped library: ${f#$PKGDESTDIR}"
|
||||||
|
fi
|
||||||
attach_debug "$f"
|
attach_debug "$f"
|
||||||
;;
|
;;
|
||||||
application/x-archive*)
|
application/x-archive*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue