Import 'file' invocation fix from Arch

This commit is contained in:
Tk-Glitch
2022-12-16 00:47:38 +01:00
parent 77002f1406
commit 4547454e3d

View File

@@ -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)