From fbd6d683ede4e01ffc9c3e6d104fbf578969a5e8 Mon Sep 17 00:00:00 2001 From: xiphon Date: Wed, 22 May 2019 10:54:05 +0000 Subject: [PATCH] build: Windows statically link gcc and c++ runtime --- monero-wallet-gui.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index dacf11b7..86072b68 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -255,6 +255,8 @@ win32 { LIBS+=-L$$BOOST_PATH/lib LIBS+=-L$$BOOST_MINGW_PATH/lib + QMAKE_LFLAGS += -static-libgcc -static-libstdc++ + LIBS+= \ -Wl,-Bstatic \ -lboost_serialization-mt \ @@ -272,6 +274,7 @@ win32 { -licudt \ -licutu \ -liconv \ + -lpthread \ -lssl \ -lsodium \ -lcrypto \