mirror of
https://github.com/wownero/wownerujo.git
synced 2026-10-21 01:18:31 +02:00
21 lines
613 B
Bash
Executable File
21 lines
613 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
source script/build-external-libs/env.sh
|
|
|
|
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/bool create_address_file = false/bool create_address_file = true/g' src/wallet/wallet2.h
|
|
|
|
sodium_pattern="find_library(SODIUM_LIBRARY sodium)"
|
|
include_sodium='find_library(SODIUM_LIBRARY sodium)\
|
|
\
|
|
message(STATUS "Using SODIUM include dir at ${LIBSODIUM_INCLUDE_DIR}")\
|
|
include_directories(${LIBSODIUM_INCLUDE_DIR})'
|
|
|
|
sed -i "s/${sodium_pattern}/${include_sodium}/g" CMakeLists.txt
|