diff --git a/PKGBUILD b/PKGBUILD index 7efdd8f..39e38c6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -153,7 +153,7 @@ _package-headers() { echo "Stripping build tools..." local file while read -rd '' file; do - case "$(file -bi "$file")" in + case "$(file -Sib "$file")" in application/x-sharedlib\;*) # Libraries (.so) strip -v $STRIP_SHARED "$file" ;; application/x-archive\;*) # Libraries (.a)