FS#76537: Fix 'file' invocation
This commit is contained in:
parent
c7c141432a
commit
85dd9fcd7c
1 changed files with 1 additions and 1 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -390,7 +390,7 @@ _package-headers() {
|
||||||
echo "Stripping build tools..."
|
echo "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)
|
||||||
|
|
Loading…
Reference in a new issue