summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/toolchain.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r--scripts/toolchain.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 6f5476bdd0a..99a3647b6ec 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -468,6 +468,9 @@ function toolchain(_buildDir, _subDir)
"StaticRuntime",
"NoExceptions",
}
+ flags {
+ "WinMain"
+ }
configuration { "mingw*" }
defines { "WIN32" }