Merge pull request #436 from YACReader/mojave-fixes-qt5

Try to use Qt 5.15.10 to make macos builds work in Mojave
This commit is contained in:
Luis Ángel San Martín 2024-05-28 18:22:30 +02:00 committed by GitHub
commit 996983562f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 16 additions and 0 deletions

View File

@ -171,6 +171,7 @@ jobs:
certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password)
- script: |
MACOSX_DEPLOYMENT_TARGET=11
cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
echo "Trying to know if we are in a forked repo: $IS_FORK"
@ -228,6 +229,7 @@ jobs:
certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password)
- script: |
MACOSX_DEPLOYMENT_TARGET=10.13
cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
echo "Trying to know if we are in a forked repo: $IS_FORK"

View File

@ -1,5 +1,19 @@
7zip 23.01 built from the original sources using the Format7zF bundle
x86_64 build (built in an Apple silicon mac):
export MACOSX_DEPLOYMENT_TARGET=10.13
export CC="clang -arch x86_64"
export CXX="clang++ -arch x86_64"
make -j -f makefile.gcc
arm64 build (built in an Apple silicon mac):
export MACOSX_DEPLOYMENT_TARGET=10.13 // minimum will be 11
export CC="clang -arch arm64"
export CXX="clang++ -arch arm64"
make -j -f makefile.gcc
Universal binary created using lipo:
lipo -create -arch arm64 arm64/7z.so -arch x86_64 x86_64/7z.so -o universal/7z.so

Binary file not shown.

Binary file not shown.

Binary file not shown.