Browse Source

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

master
Alibek Omarov 5 months ago
parent
commit
aa54309d5c
  1. 2
      engine/wscript

2
engine/wscript

@ -90,7 +90,7 @@ def configure(conf): @@ -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…
Cancel
Save