mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-30 15:39:25 +00:00
b2c603a47b
* Fix gen scripts. Change default arch for macos application. * Add combine script for combine arm and x86_64 libs. * - Update Mac version for release - Update branch with main [skip ci] --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
17 lines
No EOL
519 B
Bash
Executable file
17 lines
No EOL
519 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. ./config.sh
|
|
|
|
cd $EXTERNAL_DIR
|
|
mkdir -p $EXTERNAL_MACOS_LIB_DIR
|
|
|
|
EXTERNAL_DIR_MACOS_ARM=${EXTERNAL_DIR}/macos-arm/lib
|
|
EXTERNAL_DIR_MACOS_X86_64=${EXTERNAL_DIR}/macos-x86_64/lib
|
|
|
|
LIBS=(libboost.a libcrypto.a libssl.a libsodium.a libunbound.a libmonero.a)
|
|
|
|
for lib in ${LIBS[@]}; do
|
|
echo ${EXTERNAL_DIR_MACOS_ARM}/$lib
|
|
echo ${EXTERNAL_DIR_MACOS_X86_64}/$lib
|
|
lipo -create -arch arm64 ${EXTERNAL_DIR_MACOS_ARM}/$lib -arch x86_64 ${EXTERNAL_DIR_MACOS_X86_64}/$lib -output ${EXTERNAL_MACOS_LIB_DIR}/$lib;
|
|
done |