wscript: fix ref_gl linking

This commit is contained in:
Alibek Omarov 2019-10-11 04:21:35 +03:00
parent ff1b28244b
commit 1e7abdc144

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