mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 21:19:37 +00:00
16 lines
462 B
Bash
16 lines
462 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
. ./config.sh
|
||
|
|
||
|
SODIUM_PATH="${EXTERNAL_IOS_SOURCE_DIR}/libsodium"
|
||
|
SODIUM_URL="https://github.com/jedisct1/libsodium.git"
|
||
|
|
||
|
echo "============================ SODIUM ============================"
|
||
|
|
||
|
echo "Cloning SODIUM from - $SODIUM_URL"
|
||
|
git clone $SODIUM_URL $SODIUM_PATH --branch stable
|
||
|
cd $SODIUM_PATH
|
||
|
./dist-build/ios.sh
|
||
|
|
||
|
mv ${SODIUM_PATH}/libsodium-ios/include/* $EXTERNAL_IOS_INCLUDE_DIR
|
||
|
mv ${SODIUM_PATH}/libsodium-ios/lib/* $EXTERNAL_IOS_LIB_DIR
|