Fixes for ios build

This commit is contained in:
M 2022-04-22 12:30:47 +01:00
parent 6378d052ac
commit 6eb06d75e3

View file

@ -3,7 +3,14 @@
. ./config.sh
cd $EXTERNAL_IOS_LIB_DIR
libtool -static -o libboost.a ./boost/*.a
LIBRANDOMX_PATH=${EXTERNAL_IOS_LIB_DIR}/monero/librandomx.a
if [ -f "$LIBRANDOMX_PATH" ]; then
cp $LIBRANDOMX_PATH ./haven
fi
libtool -static -o libboost.a ./libboost_*.a
libtool -static -o libhaven.a ./haven/*.a
libtool -static -o libmonero.a ./monero/*.a
@ -13,6 +20,7 @@ CW_MONERO_EXTERNAL_LIB=../../../../../cw_monero/ios/External/ios/lib
CW_MONERO_EXTERNAL_INCLUDE=../../../../../cw_monero/ios/External/ios/include
mkdir -p $CW_HAVEN_EXTERNAL_INCLUDE
mkdir -p $CW_MONERO_EXTERNAL_INCLUDE
mkdir -p $CW_HAVEN_EXTERNAL_LIB
mkdir -p $CW_MONERO_EXTERNAL_LIB