common/hooks: fix support for application/x-pie-executable

This commit is contained in:
Enno Boland 2018-04-16 21:37:48 +02:00
parent fb37c6b3e9
commit 3d8549991b
No known key found for this signature in database
GPG key ID: D09964719BDE9971

View file

@ -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-pie-executable)
application/x-sharedlib*|application/x-pie-executable*)
# shared library
_soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}')
# Register all versioned sonames, and