diff options
author | David Robillard <d@drobilla.net> | 2011-11-13 03:54:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-13 03:54:29 +0000 |
commit | bf8f0b2cb5cd41be9f709cb0cc2a445ec339d5f8 (patch) | |
tree | bc54f29d91c1713e9ce4587e085813835558ff1e /libs/pbd/wscript | |
parent | 420780f5fcc43d060bad166286dca85a651d9be8 (diff) |
Apply patch from timbyr to fix building with --test.
git-svn-id: svn://localhost/ardour2/branches/3.0@10561 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/wscript')
-rw-r--r-- | libs/pbd/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 5cd2050303..e0ccb885b1 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -127,7 +127,7 @@ def build(bld): if bld.env['build_target'] == 'x86_64': obj.cxxflags += [ '-DUSE_X86_64_ASM' ] - if bld.is_defined ('BUILD_TESTS') and bld.is_defined('HAVE_CPPUNIT'): + if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'): # Unit tests testobj = bld(features = 'cxx cxxprogram') testobj.source = ''' |