Import 'file' invocation fix from Arch
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -262,7 +262,7 @@ hackheaders() {
|
|||||||
msg2 "Stripping build tools..."
|
msg2 "Stripping build tools..."
|
||||||
local file
|
local file
|
||||||
while read -rd '' file; do
|
while read -rd '' file; do
|
||||||
case "$(file -bi "$file")" in
|
case "$(file -Sib "$file")" in
|
||||||
application/x-sharedlib\;*) # Libraries (.so)
|
application/x-sharedlib\;*) # Libraries (.so)
|
||||||
strip -v $STRIP_SHARED "$file" ;;
|
strip -v $STRIP_SHARED "$file" ;;
|
||||||
application/x-archive\;*) # Libraries (.a)
|
application/x-archive\;*) # Libraries (.a)
|
||||||
|
Reference in New Issue
Block a user