2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

wscript: don't look for amd64_x86 MSVC crosscompiler when using msvc-wine

This commit is contained in:
Alibek Omarov 2024-11-02 01:55:35 +03:00
parent f7bc258c2f
commit 42cf51c6aa

View File

@ -176,7 +176,7 @@ def configure(conf):
conf.load('fwgslib reconfigure compiler_optimizations')
if conf.options.ALLOW64:
conf.env.MSVC_TARGETS = ['x64']
elif sys.maxsize > 2 ** 32:
elif sys.maxsize > 2 ** 32 and not conf.options.MSVC_WINE:
conf.env.MSVC_TARGETS = ['amd64_x86', 'x86']
else:
conf.env.MSVC_TARGETS = ['x86']