aboutsummaryrefslogtreecommitdiffstats
path: root/ext.wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-16 18:01:29 +0000
committerDavid Robillard <d@drobilla.net>2012-02-16 18:01:29 +0000
commitd3ca298da58bce97f95c7beaaea101fb7cf64c4c (patch)
tree32a35b8d698968c8dce1163b2f1fe24c20000df0 /ext.wscript
parent5ed1257408da33ac6b4cfbc15bf8034d47558976 (diff)
downloadlv2-d3ca298da58bce97f95c7beaaea101fb7cf64c4c.tar.xz
Don't check for gcov for every sub-package.
Diffstat (limited to 'ext.wscript')
-rw-r--r--ext.wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext.wscript b/ext.wscript
index efc4035..d7b7353 100644
--- a/ext.wscript
+++ b/ext.wscript
@@ -106,7 +106,7 @@ def configure(conf):
'os.path.relpath missing, get Python 2.6 or use --copy-headers')
# Check for gcov library (for test coverage)
- if conf.env['BUILD_TESTS']:
+ if conf.env['BUILD_TESTS'] and not conf.is_defined('HAVE_GCOV'):
conf.check_cc(lib='gcov', define_name='HAVE_GCOV', mandatory=False)
autowaf.configure(conf)