Skip to content

Commit

Permalink
chore: Change x64 to x86_64 for macOS build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubik65536 authored Nov 17, 2023
1 parent 2890af2 commit 53a8817
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macos-build.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd $HOME
mkdir qt-static
cd qt-static

rm -rf build install qt6.6.0-static-arm64-apple-darwin qt6.6.0-static-x64-apple-darwin qt6.6.0-static-arm64-apple-darwin.tar.gz qt6.6.0-static-x64-apple-darwin.tar.gz
rm -rf build install qt6.6.0-static-arm64-apple-darwin qt6.6.0-static-x86_64-apple-darwin qt6.6.0-static-arm64-apple-darwin.tar.gz qt6.6.0-static-x86_64-apple-darwin.tar.gz

git clone https://github.com/qt/qtbase.git --recursive
cd qtbase
Expand Down Expand Up @@ -49,8 +49,8 @@ if [[ $CPUTYPE == arm64 ]]; then
mv install qt6.6.0-static-arm64-apple-darwin
tar -czvf qt6.6.0-static-arm64-apple-darwin.tar.gz qt6.6.0-static-arm64-apple-darwin
else
mv install qt6.6.0-static-x64-apple-darwin
tar -czvf qt6.6.0-static-x64-apple-darwin.tar.gz qt6.6.0-static-x64-apple-darwin
mv install qt6.6.0-static-x86_64-apple-darwin
tar -czvf qt6.6.0-static-x86_64-apple-darwin.tar.gz qt6.6.0-static-x86_64-apple-darwin
fi

echo "Done! Find the package in $HOME/qt-static"

0 comments on commit 53a8817

Please sign in to comment.