summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-08 21:10:14 +0000
committerDavid Robillard <d@drobilla.net>2011-01-08 21:10:14 +0000
commit797b0ff60ee3e4708ef9cde602d5ec40a1f0473c (patch)
treeb7ab27b83df439bf0d5f737b20167bdca2dc356a /wscript
parent529883c870f88922baf99330e3a8891a1be4d589 (diff)
downloadlilv-797b0ff60ee3e4708ef9cde602d5ec40a1f0473c.tar.gz
lilv-797b0ff60ee3e4708ef9cde602d5ec40a1f0473c.tar.bz2
lilv-797b0ff60ee3e4708ef9cde602d5ec40a1f0473c.zip
Fix unit test compilation.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2802 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 89bcccb..512efa5 100644
--- a/wscript
+++ b/wscript
@@ -135,7 +135,7 @@ def build(bld):
if bld.env['BUILD_TESTS']:
# Static library (for unit test code coverage)
- obj = bld(features = 'c cstaticlib')
+ obj = bld(features = 'c cstlib')
obj.source = lib_source
obj.includes = ['.', './src']
obj.name = 'libslv2_static'
@@ -151,7 +151,7 @@ def build(bld):
obj.includes = ['.', './src']
obj.use = 'libslv2_static'
obj.uselib = 'REDLAND LV2CORE'
- obj.libs = 'gcov'
+ obj.linkflags = '-lgcov'
obj.target = i
obj.install_path = ''
obj.cflags = [ '-fprofile-arcs', '-ftest-coverage' ]