aboutsummaryrefslogtreecommitdiff
path: root/get_libwallet_api.sh
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-19 16:56:47 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-19 16:56:47 +0300
commitc40b094e2c939a09ea8169fceecda0e660bd577a (patch)
tree66def0d9858c6aed7cb5c1194512fa08866bd006 /get_libwallet_api.sh
parent3cc318eb5d848099eacf9d1fe4cd5ac669dbfe16 (diff)
parent9ec8eb923e5dc0d439d35ab3637223df8b4b14b0 (diff)
downloadmonzero-gui-c40b094e2c939a09ea8169fceecda0e660bd577a.tar.gz
monzero-gui-c40b094e2c939a09ea8169fceecda0e660bd577a.tar.xz
monzero-gui-c40b094e2c939a09ea8169fceecda0e660bd577a.zip
build: Merged libunbound build settings for macosx
Diffstat (limited to 'get_libwallet_api.sh')
-rwxr-xr-xget_libwallet_api.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh
index cbd4f021..a17b0fec 100755
--- a/get_libwallet_api.sh
+++ b/get_libwallet_api.sh
@@ -31,7 +31,7 @@ pushd $MONERO_DIR/build/release
if [ "$(uname)" == "Darwin" ]; then
# Do something under Mac OS X platform
- cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$MONERO_DIR" ../..
+ 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" ../..
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# Do something under GNU/Linux platform
PLATFORM="Linux"
@@ -54,6 +54,7 @@ popd
# 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
+ echo "Building libunbound..."
pushd $MONERO_DIR/build/release/external/unbound
make -j$CPU_CORE_COUNT
make install -j$CPU_CORE_COUNT