From 4547454e3d9dd869a9225fd973b323980d763af3 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Fri, 16 Dec 2022 00:47:38 +0100 Subject: [PATCH] Import 'file' invocation fix from Arch --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)