mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
engine: wscript: fix pthreads check by explicitly checking it in C mode
This commit is contained in:
parent
443317bedf
commit
aa54309d5c
@ -90,7 +90,7 @@ def configure(conf):
|
|||||||
conf.define('XASH_NO_LIBDL',1)
|
conf.define('XASH_NO_LIBDL',1)
|
||||||
|
|
||||||
if not conf.env.DEST_OS in ['win32', 'android'] and not conf.options.NO_ASYNC_RESOLVE:
|
if not conf.env.DEST_OS in ['win32', 'android'] and not conf.options.NO_ASYNC_RESOLVE:
|
||||||
conf.check_pthreads()
|
conf.check_pthreads(mode='c')
|
||||||
|
|
||||||
if conf.env.DEST_OS == 'linux':
|
if conf.env.DEST_OS == 'linux':
|
||||||
conf.check_cc(lib='rt')
|
conf.check_cc(lib='rt')
|
||||||
|
Loading…
Reference in New Issue
Block a user