Skip to content

Commit

Permalink
build_zano.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoBlackCat committed Oct 23, 2024
1 parent 956c469 commit 91a063a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/android/build_zano.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh
set -o xtrace

ORIGINAL_DIR=$(pwd)

. ./config.sh
#HAVEN_VERSION=tags/v3.0.7
ZANO_SRC_DIR=${WORKDIR}/zano
Expand Down Expand Up @@ -65,7 +67,7 @@ case $arch in
esac

cd $ZANO_SRC_DIR
rm -rf ./build/release
rm -rf ./build/release
mkdir -p ./build/release
cd ./build/release
CC=${CLANG} CXX=${CXXLANG} cmake -S../.. -DCMAKE_INSTALL_PREFIX=./_install -D CAKEWALLET=TRUE -D TESTNET=TRUE -D USE_DEVICE_TREZOR=OFF -D BUILD_GUI_DEPS=1 -D BUILD_TESTS=OFF -D ARCH=${ARCH} -D STATIC=ON -D BUILD_64=${BUILD_64} -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON -D BUILD_TAG=${TAG} -D CMAKE_SYSTEM_NAME="Android" -D CMAKE_ANDROID_STANDALONE_TOOLCHAIN="${ANDROID_STANDALONE_TOOLCHAIN_PATH}" -D CMAKE_ANDROID_ARCH_ABI=${ARCH_ABI} $FLAGS
Expand All @@ -91,6 +93,7 @@ fi
cp -r ./_install/$ARCH_ABI/lib/* $DEST_LIB_DIR
#cp ../../src/wallet/api/wallet2_api.h $DEST_INCLUDE_DIR

cd "$ORIGINAL_DIR"
./copy_zano_libs.sh

done

0 comments on commit 91a063a

Please sign in to comment.