engine: wscript: fix pthreads check by explicitly checking it in C mode
This commit is contained in:
parent
443317bedf
commit
aa54309d5c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def configure(conf):
|
|||
conf.define('XASH_NO_LIBDL',1)
|
||||
|
||||
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':
|
||||
conf.check_cc(lib='rt')
|
||||
|
|
Loading…
Add table
Reference in a new issue