wscript: add yy-thunks library to help support the holy cow of windows users

This commit is contained in:
Alibek Omarov
2026-06-21 09:41:12 +05:00
parent 57206b3651
commit 3366ad06d0
14 changed files with 76 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ def configure(conf):
conf.check_cc(lib='log')
def build(bld):
libs = [ 'ref_common', 'engine_includes', 'werror' ]
libs = [ 'ref_common', 'engine_includes', 'werror', 'yy_thunks' ]
# on PSVita do not link any libraries that are already in the main executable, but add the includes target
if bld.env.DEST_OS == 'psvita':
libs += [ 'sdk_includes', 'vgl_shim' ]

View File

@@ -13,6 +13,6 @@ def build(bld):
source = 'r_context.c',
target = 'ref_null',
defines = 'REF_DLL',
use = 'engine_includes sdk_includes werror',
use = 'engine_includes sdk_includes werror yy_thunks',
install_path = bld.env.LIBDIR
)

View File

@@ -14,7 +14,7 @@ def configure(conf):
return
def build(bld):
libs = [ 'ref_common', 'engine_includes', 'werror' ]
libs = [ 'ref_common', 'engine_includes', 'werror', 'yy_thunks' ]
# on PSVita do not link any libraries that are already in the main executable, but add the includes target
if bld.env.DEST_OS == 'psvita':
libs += [ 'sdk_includes' ]