From dfc7c5eea0bed2f4dc7a8cabfb33ad49370cd3a1 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 31 Oct 2024 13:11:01 +0000 Subject: initial zano commit --- build_single.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'build_single.sh') diff --git a/build_single.sh b/build_single.sh index 4f0c5ad..aab599f 100755 --- a/build_single.sh +++ b/build_single.sh @@ -24,10 +24,11 @@ then exit 1 fi -if [[ "x$repo" != "xwownero" && "x$repo" != "xmonero" ]]; +if [[ "x$repo" != "xwownero" && "x$repo" != "xmonero" && "x$repo" != "xzano" ]]; then echo "Usage: $0 monero/wownero $(gcc -dumpmachine) -j$proccount" echo "Invalid target given, only monero and wownero are supported targets" + exit 1 fi if [[ ! -d "$repo" ]] @@ -363,7 +364,12 @@ pushd $repo/build/${HOST_ABI} exit 1 ;; esac - CC=gcc CXX=g++ make wallet_api $NPROC + if [[ "$repo" == "zano" ]]; + then + CC=gcc CXX=g++ make version common crypto currency_core ethash libminiupnpc-static lmdb mdbx rpc stratum tor-connect wallet zlibstatic $NPROC + else + CC=gcc CXX=g++ make wallet_api $NPROC + fi popd # Special treatment for apple -- cgit v1.2.3