wscript: fix ref_gl linking

This commit is contained in:
Alibek Omarov 2019-10-11 04:21:35 +03:00
parent ff1b28244b
commit 1e7abdc144
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def build(bld):
target = 'ref_gl',
features = 'c',
includes = includes,
use = libs + ['GL'] if bld.env.GL_STATIC else [],
use = libs + (['GL'] if bld.env.GL_STATIC else []),
defines = ['XASH_GL_STATIC'] if bld.env.GL_STATIC else [],
install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM