wscript: explicitly set language when checking library

This commit is contained in:
Alibek Omarov
2018-12-16 17:10:01 +03:00
parent a580e98f28
commit 95ce9fc00f
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ def configure(conf):
# check for dedicated server build
if conf.options.DEDICATED:
if(conf.env.DEST_OS == 'linux'):
conf.check( lib='rt' )
conf.check_cc( lib='rt' )
conf.env.append_unique('DEFINES', 'SINGLE_BINARY')
conf.env.append_unique('DEFINES', 'XASH_DEDICATED')
else: