mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: add yy-thunks library to help support the holy cow of windows users
This commit is contained in:
@@ -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' ]
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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' ]
|
||||
|
||||
Reference in New Issue
Block a user