summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index da63ebb..42e3fb3 100644
--- a/wscript
+++ b/wscript
@@ -158,6 +158,7 @@ def build(bld):
obj.target = 'slv2_static'
obj.install_path = ''
obj.cflags = [ '-fprofile-arcs', '-ftest-coverage' ]
+ obj.linkflags = [ '-ldl' ]
autowaf.use_lib(bld, obj, 'SORD SERD LV2CORE GLIB')
# Unit tests
@@ -167,7 +168,7 @@ def build(bld):
obj.includes = ['.', './src']
obj.use = 'libslv2_static'
obj.uselib = 'SORD SERD LV2CORE'
- obj.linkflags = '-lgcov'
+ obj.linkflags = '-lgcov -ldl'
obj.target = i
obj.install_path = ''
obj.cflags = [ '-fprofile-arcs', '-ftest-coverage' ]