wscript: fix stdin input wasn't enabled for dedicated. Fix single-binary help string

This commit is contained in:
Alibek Omarov
2019-10-23 20:47:26 +03:00
parent bf8b87c29d
commit 8905e7cbb7
2 changed files with 3 additions and 2 deletions

View File

@@ -39,7 +39,8 @@ def configure(conf):
conf.options.USE_SELECT = conf.options.DEDICATED
conf.define_cond('SINGLE_BINARY', conf.env.SINGLE_BINARY)
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT)
conf.define_cond('XASH_USE_SELECT', conf.options.USE_SELECT or conf.options.DEDICATED)
conf.define_cond('SUPPORT_BSP2_FORMAT', conf.options.SUPPORT_BSP2_FORMAT)
conf.define_cond('XASH_64BIT', conf.env.DEST_SIZEOF_VOID_P != 4)
conf.define_cond('DBGHELP', conf.env.DEST_OS == 'win32')