common/hooks: support application/x-pie-executable (from file 5.33).

This commit is contained in:
Leah Neukirchen 2018-04-16 14:37:49 +02:00
parent 9f9ab51f9a
commit d30a239d41
3 changed files with 3 additions and 3 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-sharedlib*|application/x-pie-executable)
# shared library
_soname=$(${OBJDUMP} -p "$f"|grep SONAME|awk '{print $2}')
# Register all versioned sonames, and