engine: wscript: fix pthreads check by explicitly checking it in C mode

This commit is contained in:
Alibek Omarov 2024-01-23 21:23:23 +03:00
parent 443317bedf
commit aa54309d5c
1 changed files with 1 additions and 1 deletions

View File

@ -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')