From 3d614f5da3581355dd1fa7b6debee45aa71636bb Mon Sep 17 00:00:00 2001 From: Jan Alexander Steffens Date: Wed, 16 Nov 2022 17:41:35 +0000 Subject: [PATCH] FS#76537: Fix 'file' invocation --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)