You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
705 B
19 lines
705 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
source script/build-external-libs/env.sh
|
|
|
|
cp script/build-external-libs/wownero/build-all-arch.sh $EXTERNAL_LIBS_BUILD_ROOT/wownero
|
|
|
|
cd $EXTERNAL_LIBS_BUILD_ROOT
|
|
cd wownero
|
|
|
|
sed -i 's/-Werror/-Wall/g' CMakeLists.txt
|
|
sed -i 's/program_options locale/program_options/g' CMakeLists.txt
|
|
sed -i 's/find_path(ZMQ_INCLUDE_PATH zmq.hpp)//g' CMakeLists.txt
|
|
sed -i 's/find_library(ZMQ_LIB zmq)//g' CMakeLists.txt
|
|
sed -i 's/message(FATAL_ERROR "Could not find required header zmq.hpp")//g' CMakeLists.txt
|
|
sed -i 's/message(FATAL_ERROR "Could not find required libzmq")//g' CMakeLists.txt
|
|
sed -i 's/bool create_address_file = false/bool create_address_file = true/g' src/wallet/wallet2.h
|