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:
parent
0268028ccb
commit
bf2bacd32c
|
@ -48,6 +48,7 @@ osCFLAGS = \
|
||||||
|
|
||||||
osLDFLAGS = \
|
osLDFLAGS = \
|
||||||
-static-libgcc \
|
-static-libgcc \
|
||||||
|
--major-os-version 6 \
|
||||||
-luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
-luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
|
||||||
|
|
||||||
osLDWarnUndefinedFlags = -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
osLDWarnUndefinedFlags = -Wl,--no-undefined -Wl,--no-allow-shlib-undefined
|
||||||
|
|
Loading…
Reference in New Issue