build: Windows statically link gcc and c++ runtime

This commit is contained in:
xiphon 2019-05-22 10:54:05 +00:00
parent c286c7e5a8
commit fbd6d683ed

View file

@ -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 \