Update buildjdk.sh

This commit is contained in:
Duy Tran Khanh 2022-04-27 06:13:43 +07:00 committed by GitHub
parent 9539996019
commit 31b66be7be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ else
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration"
export CFLAGS+=" $sameflags"
export CXXFLAGS="$sameflags"
export LDFLAGS+=" -platform_version 12.0.0 14.5"
export LDFLAGS+=" -Wl,-platform_version,12.0.0,14.5"
HOMEBREW_NO_AUTO_UPDATE=1 brew install ldid xquartz
fi