summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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' ]