aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 0387ce7a..68584414 100644
--- a/wscript
+++ b/wscript
@@ -70,7 +70,7 @@ def configure(conf):
{'Build static library': bool(conf.env['BUILD_STATIC']),
'Build shared library': bool(conf.env['BUILD_SHARED']),
'Build utilities': bool(conf.env['BUILD_UTILS']),
- 'Build unit tests': conf.is_defined('HAVE_GL')})
+ 'Build unit tests': bool(conf.env['BUILD_TESTS'])})
lib_source = ['src/byte_source.c',
'src/env.c',