From d3ca298da58bce97f95c7beaaea101fb7cf64c4c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Feb 2012 18:01:29 +0000 Subject: Don't check for gcov for every sub-package. --- ext.wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext.wscript') 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) -- cgit v1.2.1