2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-18 06:09:55 +01:00

scripts: waifulib: xcompile: define WebAssembly target as DEST_OS wasi

This commit is contained in:
Alibek Omarov 2024-10-10 16:13:54 +03:00
parent 514fc9fe43
commit 8b8c3d8116

View File

@ -596,7 +596,7 @@ def configure(conf):
conf.env.MAGX = conf.options.MAGX
conf.env.MSVC_WINE = conf.options.MSVC_WINE
conf.env.SAILFISH = conf.options.SAILFISH
MACRO_TO_DESTOS = OrderedDict({ '__ANDROID__' : 'android', '__SWITCH__' : 'nswitch', '__vita__' : 'psvita' })
MACRO_TO_DESTOS = OrderedDict({ '__ANDROID__' : 'android', '__SWITCH__' : 'nswitch', '__vita__' : 'psvita', '__wasi__': 'wasi' })
for k in c_config.MACRO_TO_DESTOS:
MACRO_TO_DESTOS[k] = c_config.MACRO_TO_DESTOS[k] # ordering is important
c_config.MACRO_TO_DESTOS = MACRO_TO_DESTOS