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
1 changed files with 1 additions and 1 deletions

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