Set the major OS subsystem version for Windows targets. Thanks to nbjoerg in irc.oftc.net/#mingw-w64 and Hans Passant on Stack Overflow.

This commit is contained in:
Pietro Gagliardi 2015-08-09 15:55:37 -04:00
parent 0268028ccb
commit bf2bacd32c
1 changed files with 1 additions and 0 deletions

View File

@ -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