From 1e7abdc144ea8e5bfe164828ccd625db97d63174 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 11 Oct 2019 04:21:35 +0300 Subject: [PATCH] wscript: fix ref_gl linking --- ref_gl/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_gl/wscript b/ref_gl/wscript index c92f34b3..39d90dcb 100644 --- a/ref_gl/wscript +++ b/ref_gl/wscript @@ -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