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

View File

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