From 85dd9fcd7c425de5182e78fa4108b8ba5f20feb2 Mon Sep 17 00:00:00 2001 From: Josip Ponjavic Date: Thu, 17 Nov 2022 16:35:16 +0100 Subject: [PATCH] FS#76537: Fix 'file' invocation --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 8ff0bbc..d8bea46 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -390,7 +390,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)