mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
libunbound is one more dependency
This commit is contained in:
parent
2ea6435d43
commit
c87eed558f
2 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@ SOURCES = *.qml \
|
|||
}
|
||||
|
||||
LIBS += -L$$WALLET_ROOT/lib \
|
||||
-lwallet_merged
|
||||
-lwallet_merged \
|
||||
-lunbound
|
||||
|
||||
win32 {
|
||||
#QMAKE_LFLAGS += -static
|
||||
|
|
Loading…
Reference in a new issue