diff options
Diffstat (limited to 'waftools/detections')
-rw-r--r-- | waftools/detections/compiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py index 284a7a5b9e..ada20796b1 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -51,6 +51,8 @@ def __add_clang_flags__(ctx): def __add_mswin_flags__(ctx): ctx.env.CFLAGS += ['-D_WIN32_WINNT=0x0601', '-DUNICODE', '-DCOBJMACROS', '-U__STRICT_ANSI__'] + ctx.env.LAST_LINKFLAGS += ['-Wl,--major-os-version=6,--minor-os-version=0', + '-Wl,--major-subsystem-version=6,--minor-subsystem-version=0'] def __add_mingw_flags__(ctx): __add_mswin_flags__(ctx) |