From 7702a7a8d064c44b8077ea474e281833a28043ac Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 7 Jul 2019 00:15:52 +0300 Subject: [PATCH] wscript: force /MT for msvc explicitly --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 501af7bb..f116a6e2 100644 --- a/wscript +++ b/wscript @@ -131,7 +131,7 @@ def configure(conf): compiler_c_cxx_flags = { 'common': { # disable thread-safe local static initialization for C++11 code, as it cause crashes on Windows XP - 'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS', '/Zc:threadSafeInit-'], + 'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS', '/Zc:threadSafeInit-', '/MT'], 'clang': ['-g', '-gdwarf-2', '-Werror=implicit-function-declaration', '-Werror=return-type'], 'gcc': ['-g', '-Werror=implicit-function-declaration', '-fdiagnostics-color=always', '-Werror=return-type'] },