diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-09-03 13:06:44 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-09-03 13:06:44 +0300 |
| commit | c87eed558fa564509c611625d75a2f8ae7357527 (patch) | |
| tree | c322c57fe3dffe934c8eff6f0ce827a68c9f9586 | |
| parent | 2ea6435d43e82e34bebd559a585f1cff6b91a2da (diff) | |
| download | monzero-gui-c87eed558fa564509c611625d75a2f8ae7357527.tar.gz monzero-gui-c87eed558fa564509c611625d75a2f8ae7357527.tar.xz monzero-gui-c87eed558fa564509c611625d75a2f8ae7357527.zip | |
libunbound is one more dependency
| -rwxr-xr-x | get_libwallet_api.sh | 17 | ||||
| -rw-r--r-- | monero-core.pro | 3 |
2 files changed, 14 insertions, 6 deletions
diff --git a/get_libwallet_api.sh b/get_libwallet_api.sh index ffc75091..881e0ace 100755 --- a/get_libwallet_api.sh +++ b/get_libwallet_api.sh @@ -29,19 +29,18 @@ rm -fr $BITMONERO_DIR/include mkdir -p $BITMONERO_DIR/build/release pushd $BITMONERO_DIR/build/release - if [ "$(uname)" == "Darwin" ]; then # Do something under Mac OS X platform - cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" ../.. elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then # Do something under GNU/Linux platform - cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_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 CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" -G "MSYS Makefiles" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_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 CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" -G "MSYS Makefiles" ../.. + cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=ON -D BUILD_GUI_DEPS=ON -D CMAKE_INSTALL_PREFIX="$BITMONERO_DIR" -G "MSYS Makefiles" ../.. fi @@ -49,6 +48,14 @@ pushd $BITMONERO_DIR/build/release/src/wallet make -j$CPU_CORE_COUNT make install -j$CPU_CORE_COUNT popd + +# unbound is one more dependency. can't be merged to the wallet_merged +# since filename conflict (random.c.obj) +pushd $BITMONERO_DIR/build/release/external/unbound +make -j$CPU_CORE_COUNT +make install -j$CPU_CORE_COUNT +popd + popd diff --git a/monero-core.pro b/monero-core.pro index 4b2bbf25..7403cc8f 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -45,7 +45,8 @@ SOURCES = *.qml \ } LIBS += -L$$WALLET_ROOT/lib \ - -lwallet_merged + -lwallet_merged \ + -lunbound win32 { #QMAKE_LFLAGS += -static |
