Skip to content

Commit

Permalink
更新prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
StArrayJaN committed Feb 22, 2024
1 parent 2384d51 commit 7de5b05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildjdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ if [ "$BUILD_IOS" != "1" ]; then
else
ln -s -f /opt/X11/include/X11 $ANDROID_INCLUDE/
platform_args=--with-toolchain-type=clang
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --disable-precompiled-headers --prefix=/data/data/bin.mt.plus/files/term/usr/share/openjdk-17"
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration -Wl,-rpath=/data/data/bin.mt.plus/files/term/usr/share/openjdk-17/lib"
AUTOCONF_x11arg="--with-x=/opt/X11/include/X11 --disable-precompiled-headers --prefix=/data/data/thercn.ajide/files/usr/opt/openjdk-17"
sameflags="-arch arm64 -isysroot $thesysroot -miphoneos-version-min=12.0 -DHEADLESS=1 -I$PWD/ios-missing-include -Wno-implicit-function-declaration -Wl,-rpath=/data/data/thercn.ajide/files/usr/opt/openjdk-17"
export CFLAGS+=" $sameflags"
export CXXFLAGS="$sameflags"

Expand All @@ -55,7 +55,7 @@ ln -s -f $CUPS_DIR/cups $ANDROID_INCLUDE/

cd openjdk
# rm -rf build
patch -p0 -i ../fix-libjava.patch
#patch -p0 -i ../fix-libjava.patch
# --with-extra-cxxflags="$CXXFLAGS -Dchar16_t=uint16_t -Dchar32_t=uint32_t" \
# --with-extra-cflags="$CPPFLAGS" \
# --with-sysroot="$(xcrun --sdk iphoneos --show-sdk-path)" \
Expand Down

0 comments on commit 7de5b05

Please sign in to comment.