diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-09-19 17:47:44 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-09-19 17:47:44 +0300 |
| commit | 740669a909d55e84e34217b57fd0224bb61bc0f1 (patch) | |
| tree | 5cfdade5d8c007040607e5880d34c6c731ed9567 | |
| parent | c40b094e2c939a09ea8169fceecda0e660bd577a (diff) | |
| download | monzero-gui-740669a909d55e84e34217b57fd0224bb61bc0f1.tar.gz monzero-gui-740669a909d55e84e34217b57fd0224bb61bc0f1.tar.xz monzero-gui-740669a909d55e84e34217b57fd0224bb61bc0f1.zip | |
build: Building vendored libunbound for mingw builds
| -rwxr-xr-x | get_libwallet_api.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index a17b0fec..3e6f4933 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -38,10 +38,10 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../.. elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then # Do something under Windows NT platform - cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../.. elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then # Do something under Windows NT platform - cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D INSTALL_VENDORED_LIBUNBOUND=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" -G "MSYS Makefiles" ../.. fi @@ -53,7 +53,8 @@ popd # unbound is one more dependency. can't be merged to the wallet_merged # since filename conflict (random.c.obj) # for Linux, we use libunbound from repository, so we don't need to build it -if [ $PLATFORM != "Linux" ]; then + +if [ "$PLATFORM" != "Linux" ]; then echo "Building libunbound..." pushd $MONERO_DIR/build/release/external/unbound make -j$CPU_CORE_COUNT |
