Update .ci/thin_macos_qtlib.sh

This commit is contained in:
ebbit1q 2025-12-29 19:21:03 +01:00 committed by GitHub
parent 49b8f08dda
commit 37cd3f27e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ nproc=$(sysctl -n hw.ncpu)
function thin() {
local libfile=$1
if [[ $(file -b --mime-type "$libfile") == application/x-mach-binary ]]; then
if [[ $(file -b --mime-type "$libfile") == application/x-mach-binary* ]]; then
echo "Processing $libfile"
lipo "$libfile" -thin "$arch" -output "$libfile"
fi