mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-26 18:40:08 +01:00
engine: wscript: fix typo, use pthreads.py tool
This commit is contained in:
parent
453c0d890d
commit
b79c95d295
@ -47,9 +47,10 @@ def configure(conf):
|
||||
conf.options.USE_SELECT = conf.options.DEDICATED
|
||||
|
||||
if not conf.env.DEST_OS in ['win32', 'android'] and not conf.options.NO_ASYNC_RESOLVE:
|
||||
conf.check_cc( lib='pthread' )
|
||||
conf.load('pthreads')
|
||||
conf.check_pthread_flag()
|
||||
|
||||
conf.define_conf('XASH_CUSTOM_SWAP', conf.options.CUSTOM_SWAP)
|
||||
conf.define_cond('XASH_CUSTOM_SWAP', conf.options.CUSTOM_SWAP)
|
||||
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_USE_SELECT', conf.options.USE_SELECT or conf.options.DEDICATED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user