diff --git a/PKGBUILD b/PKGBUILD index 4a18f44..397ee9d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -262,7 +262,7 @@ hackheaders() { msg2 "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)