From 723d10f2f3c5420c360d3accac044216641c3142 Mon Sep 17 00:00:00 2001 From: Eilionoir Tunnicliff Date: Wed, 17 Aug 2022 05:24:47 -0400 Subject: [PATCH] Fix Android builds --- removejdkdebuginfo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/removejdkdebuginfo.sh b/removejdkdebuginfo.sh index 9c873dd3..42bae71f 100755 --- a/removejdkdebuginfo.sh +++ b/removejdkdebuginfo.sh @@ -8,7 +8,9 @@ imagespath=openjdk/build/${JVM_PLATFORM}-${TARGET_JDK}-${JVM_VARIANTS}-${JDK_DEB rm -rf dizout jreout jdkout dSYM-temp mkdir -p dizout dSYM-temp/{lib,bin} -#cp freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT/lib/libfreetype.so $imagespath/jdk/lib/ +if [ "$BUILD_IOS" != "1" ]; then + cp freetype-$BUILD_FREETYPE_VERSION/build_android-$TARGET_SHORT/lib/libfreetype.so $imagespath/jdk/lib/ +fi cp -r $imagespath/jdk jdkout @@ -54,4 +56,4 @@ if [ "$BUILD_IOS" == "1" ]; then done ldid -Sios-sign-entitlements.xml jreout/bin/* ldid -Sios-sign-entitlements.xml jdkout/bin/* -fi \ No newline at end of file +fi