From 47a04df189fd81e6ca1328d117b40a6a597d7deb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 17 Oct 2024 14:56:10 +0300 Subject: [PATCH] wscript: try to fix Windows XP compatibility on 32-bit binaries --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 4f79c96f..e627d4ea 100644 --- a/wscript +++ b/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: