mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 17:57:36 +00:00
16 lines
554 B
Bash
16 lines
554 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
. ./config.sh
|
||
|
|
||
|
OPEN_SSL_URL="https://github.com/x2on/OpenSSL-for-iPhone.git"
|
||
|
OPEN_SSL_DIR_PATH="${EXTERNAL_IOS_SOURCE_DIR}/OpenSSL"
|
||
|
|
||
|
echo "============================ OpenSSL ============================"
|
||
|
|
||
|
echo "Cloning Open SSL from - $OPEN_SSL_URL"
|
||
|
git clone $OPEN_SSL_URL $OPEN_SSL_DIR_PATH
|
||
|
cd $OPEN_SSL_DIR_PATH
|
||
|
./build-libssl.sh --version=1.1.1k --archs="x86_64 arm64 armv7s armv7" --targets="ios64-cross-arm64" --deprecated
|
||
|
|
||
|
mv ${OPEN_SSL_DIR_PATH}/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
||
|
mv ${OPEN_SSL_DIR_PATH}/lib/* $EXTERNAL_IOS_LIB_DIR
|