From bf2bacd32c043e0080786fa8c78ffea9eee1b99e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 9 Aug 2015 15:55:37 -0400 Subject: [PATCH] Set the major OS subsystem version for Windows targets. Thanks to nbjoerg in irc.oftc.net/#mingw-w64 and Hans Passant on Stack Overflow. --- redo/windows/GNUmakeinc.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/redo/windows/GNUmakeinc.mk b/redo/windows/GNUmakeinc.mk index 4573e681..a5a9b42d 100644 --- a/redo/windows/GNUmakeinc.mk +++ b/redo/windows/GNUmakeinc.mk @@ -48,6 +48,7 @@ osCFLAGS = \ osLDFLAGS = \ -static-libgcc \ + --major-os-version 6 \ -luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid osLDWarnUndefinedFlags = -Wl,--no-undefined -Wl,--no-allow-shlib-undefined