wscript: try to fix Windows XP compatibility on 32-bit binaries
This commit is contained in:
parent
2efedaf46c
commit
47a04df189
1 changed files with 1 additions and 1 deletions
2
wscript
2
wscript
|
@ -200,7 +200,7 @@ def configure(conf):
|
|||
conf.load('msvs msdev subproject clang_compilation_database strip_on_install waf_unit_test enforce_pic cmake')
|
||||
|
||||
# Force XP compatibility, all build targets should add subsystem=bld.env.MSVC_SUBSYSTEM
|
||||
if conf.env.MSVC_TARGETS[0] == 'x86':
|
||||
if conf.env.MSVC_TARGETS[0] == 'amd64_x86' or conf.env.MSVC_TARGETS[0] == 'x86':
|
||||
conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01'
|
||||
conf.env.CONSOLE_SUBSYSTEM = 'CONSOLE,5.01'
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue