From 90dae526f0794d55202cd31384fc9141581688b6 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sat, 25 Sep 2021 19:41:56 +0700 Subject: [PATCH] copy libffi.8.dylib --- removejdkdebuginfo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/removejdkdebuginfo.sh b/removejdkdebuginfo.sh index 3164b791..869aeb03 100755 --- a/removejdkdebuginfo.sh +++ b/removejdkdebuginfo.sh @@ -26,6 +26,9 @@ find jreout -name "*.diz" -delete find jdkout -name "*.diz" -exec mv {} dizout/ \; if [ "$BUILD_IOS" == "1" ]; then + cp /usr/local/lib/libffi.8.dylib jdkout/jre/lib/ + cp /usr/local/lib/libffi.8.dylib jreout/lib/ + install_name_tool -id @rpath/libfreetype.dylib jdkout/jre/lib/libfreetype.dylib install_name_tool -id @rpath/libfreetype.dylib jreout/lib/libfreetype.dylib install_name_tool -change build_android-arm64/lib/libfreetype.dylib @rpath/libfreetype.dylib jdkout/jre/lib/libfontmanager.dylib