summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
Diffstat (limited to 'waftools')
-rw-r--r--waftools/detections/compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index ab658b8ce3..a3ad2835d2 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -36,7 +36,7 @@ def __add_mingw_flags__(ctx):
ctx.env.CFLAGS += ['-DBYTE_ORDER=1234']
ctx.env.CFLAGS += ['-DLITLE_ENDIAN=1234']
ctx.env.CFLAGS += ['-DBIG_ENDIAN=4321']
- ctx.env.LAST_LINKFLAGS += ['-mconsole']
+ ctx.env.LAST_LINKFLAGS += ['-mwindows']
def __add_cygwin_flags__(ctx):
ctx.env.CFLAGS += ['-mwin32']