common/hooks: fix support for application/x-pie-executable
This commit is contained in:
parent
fb37c6b3e9
commit
3d8549991b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue