mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
MSYS2/Win64 build fixed
This commit is contained in:
parent
0c093423f1
commit
d880441f7e
2 changed files with 32 additions and 3 deletions
|
@ -32,10 +32,10 @@ elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
|||
cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=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 "MinGW Makefiles" ../..
|
||||
|
||||
cmake -D CMAKE_BUILD_TYPE=Release -D STATIC=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" ../..
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
@ -42,12 +42,41 @@ SOURCES = *.qml \
|
|||
|
||||
LIBS += -L$$WALLET_ROOT/lib \
|
||||
-lwallet_merged \
|
||||
-lwallet_merged2
|
||||
|
||||
win32 {
|
||||
#QMAKE_LFLAGS += -static
|
||||
LIBS+= \
|
||||
-Wl,-Bstatic \
|
||||
-lboost_serialization-mt \
|
||||
-lboost_thread-mt \
|
||||
-lboost_system-mt \
|
||||
-lboost_date_time-mt \
|
||||
-lboost_filesystem-mt \
|
||||
-lboost_regex-mt \
|
||||
-lboost_chrono-mt \
|
||||
-lboost_program_options-mt \
|
||||
-lssl \
|
||||
-lcrypto \
|
||||
-Wl,-Bdynamic \
|
||||
-lws2_32 \
|
||||
-lwsock32 \
|
||||
-lIphlpapi \
|
||||
-lgdi32
|
||||
}
|
||||
|
||||
unix {
|
||||
LIBS+= \
|
||||
-lboost_serialization \
|
||||
-lboost_thread \
|
||||
-lboost_system \
|
||||
-lboost_date_time \
|
||||
-lboost_filesystem \
|
||||
-lboost_regex
|
||||
-lboost_regex \
|
||||
-lboost_chrono \
|
||||
-lboost_program_options
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue