From 3d8549991bbbec14c45ddea3fcfb6bf1307a06c4 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 16 Apr 2018 21:37:48 +0200 Subject: [PATCH] common/hooks: fix support for application/x-pie-executable --- common/hooks/pre-pkg/06-shlib-provides.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/06-shlib-provides.sh b/common/hooks/pre-pkg/06-shlib-provides.sh index e4a20063331..66bb03ac058 100644 --- a/common/hooks/pre-pkg/06-shlib-provides.sh +++ b/common/hooks/pre-pkg/06-shlib-provides.sh @@ -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