From 9a96bece576f90519e57150bc94b268a591a0264 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 27 Nov 2024 18:36:51 +0300 Subject: [PATCH] wscript: don't set subsystem flag, it's only needed for executables --- cl_dll/wscript | 1 - dlls/wscript | 1 - wscript | 6 ------ 3 files changed, 8 deletions(-) diff --git a/cl_dll/wscript b/cl_dll/wscript index 5fe9266777..847004272a 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -119,7 +119,6 @@ def build(bld): defines = defines, use = libs, install_path = install_path, - subsystem = bld.env.MSVC_SUBSYSTEM, idx = bld.get_taskgen_count() ) diff --git a/dlls/wscript b/dlls/wscript index 82d9e87038..58b07b2e80 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -54,7 +54,6 @@ def build(bld): includes = includes, defines = defines, install_path = install_path, - subsystem = bld.env.MSVC_SUBSYSTEM, idx = bld.get_taskgen_count() ) diff --git a/wscript b/wscript index 690d785c46..a934c6259d 100644 --- a/wscript +++ b/wscript @@ -47,12 +47,6 @@ def configure(conf): conf.load('fwgslib reconfigure compiler_optimizations') conf.env.MSVC_TARGETS = ['x86' if not conf.options.ALLOW64 else 'x64'] - # Force XP compatibility, all build targets should add subsystem=bld.env.MSVC_SUBSYSTEM - if conf.env.MSVC_TARGETS[0] == 'x86': - conf.env.MSVC_SUBSYSTEM = 'WINDOWS,5.01' - else: - conf.env.MSVC_SUBSYSTEM = 'WINDOWS' - # Load compilers early conf.load('xcompile compiler_c compiler_cxx gccdeps')