fix(build ios): use target version

This commit is contained in:
Mathias-Boulay 2024-06-15 18:19:09 +02:00
parent c469d2ec51
commit e49aca792a
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ jobs:
export PATH=/opt/procursus/bin:/opt/homebrew/bin:$PATH
export JAVA_HOME=$(/usr/libexec/java_home -v ${{ matrix.version }})
export BUILD_IOS=1
export TARGET_VERSION=${{ matrix.version }}
bash "1_ci_build_arch_aarch64.sh"
# - name: Upload JDK build output

View File

@ -60,7 +60,7 @@ else
ln -s -f /usr/local/include/fontconfig $ANDROID_INCLUDE/
fi
platform_args="--with-toolchain-type=clang --with-sysroot=$(xcrun --sdk iphoneos --show-sdk-path) \
--with-boot-jdk=$(/usr/libexec/java_home -v 17) \
--with-boot-jdk=$(/usr/libexec/java_home -v $TARGET_VERSION) \
--with-freetype=bundled \
"
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --prefix=/usr/lib"