mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 21:20:26 +01:00
wscript: fix build without DLLEMU
This commit is contained in:
parent
3a416636f1
commit
dce35f453d
@ -67,9 +67,11 @@ def configure(conf):
|
|||||||
conf.load('pthreads')
|
conf.load('pthreads')
|
||||||
conf.check_pthread_flag()
|
conf.check_pthread_flag()
|
||||||
|
|
||||||
|
if hasattr(conf.options, 'DLLEMU'):
|
||||||
|
conf.define_cond('XASH_DLL_LOADER', conf.options.DLLEMU)
|
||||||
|
|
||||||
conf.define_cond('XASH_STATIC_LIBS', conf.env.STATIC_LINKING)
|
conf.define_cond('XASH_STATIC_LIBS', conf.env.STATIC_LINKING)
|
||||||
conf.define_cond('XASH_CUSTOM_SWAP', conf.options.CUSTOM_SWAP)
|
conf.define_cond('XASH_CUSTOM_SWAP', conf.options.CUSTOM_SWAP)
|
||||||
conf.define_cond('XASH_DLL_LOADER', conf.options.DLLEMU)
|
|
||||||
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
|
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
|
||||||
conf.define_cond('XASH_NO_ASYNC_NS_RESOLVE', conf.options.NO_ASYNC_RESOLVE)
|
conf.define_cond('XASH_NO_ASYNC_NS_RESOLVE', conf.options.NO_ASYNC_RESOLVE)
|
||||||
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT or conf.options.DEDICATED)
|
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT or conf.options.DEDICATED)
|
||||||
|
Loading…
Reference in New Issue
Block a user