From f626316b1e8968369fd82dc22bbcebfdc2956684 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Sat, 27 Aug 2022 19:19:15 +0300 Subject: [PATCH] Build UEFITool with universal Qt 5.6.3 to produce FAT binaries on macOS references #228 --- unixbuild.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unixbuild.sh b/unixbuild.sh index 83c91f8..f3ed428 100755 --- a/unixbuild.sh +++ b/unixbuild.sh @@ -23,16 +23,16 @@ fi if [ "$UPLATFORM" = "mac" ]; then if [ ! -d /opt/qt56sm ]; then - curl -L -o /tmp/qt-5.6.3-static-mac.zip https://github.com/distdb/qtbuilds/blob/master/qt-5.6.3-static-mac.zip?raw=true || exit 1 - qtsum=$(shasum -a 256 /tmp/qt-5.6.3-static-mac.zip | cut -f1 -d' ') - qtexpsum="214d22d8572ea6162753c8dd251d79275f3b22d49204718c637d722409e0cfcb" + curl -L -o /tmp/qt-5.6.3-static-universal-macos-sdk12.3.zip https://github.com/LongSoft/qt-5.6.3-static-universal-macos-sdk12.3/blob/main/qt-5.6.3-static-universal-macos-sdk12.3.zip?raw=true || exit 1 + qtsum=$(shasum -a 256 /tmp/qt-5.6.3-static-universal-macos-sdk12.3.zip | cut -f1 -d' ') + qtexpsum="3668341b9d768a3cff30732e3f34c39bd85ed7b2f24c4f4438fd31d513d4cf44" if [ "$qtsum" != "$qtexpsum" ]; then echo "Qt hash $qtsum does not match $qtexpsum" exit 1 fi sudo mkdir -p /opt || exit 1 cd /opt || exit 1 - sudo unzip -q /tmp/qt-5.6.3-static-mac.zip || exit 1 + sudo unzip -q /tmp/qt-5.6.3-static-universal-macos-sdk12.3.zip || exit 1 cd - || exit 1 fi