summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 95637b342..40ad35384 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -38,7 +38,7 @@ end]]
-- for the windows platform (msvc)
if is_plat("windows") then
- add_cxflags("-MT")
+ set_runtimes("MT")
add_ldflags("-nodefaultlib:msvcrt.lib")
add_links("kernel32", "user32", "gdi32")
end