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