summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-12 11:49:50 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-12 11:49:50 +0000
commitd540b90f5faf1051656920ccc9644ba764e5bb2b (patch)
treecd7b6d47c7e9470aeed99104484bb916e1abe3ed /wscript
parentff595d9ac470739aa8464b003bb40098daaae8f2 (diff)
Fix gcov shlib build; this fixes tests to run against the locally-built libdcp rather than the installed one.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 743a0e8e..57fed173 100644
--- a/wscript
+++ b/wscript
@@ -98,6 +98,8 @@ def configure(conf):
if not conf.env.TARGET_WINDOWS:
conf.env.append_value('LINKFLAGS', '-pthread')
+ if not conf.options.disable_gcov:
+ conf.env.append_value('LINKFLAGS', '-fprofile-arcs')
if conf.options.jpeg == 'oj1':
conf.env.append_value('CXXFLAGS', ['-DLIBDCP_OPENJPEG1'])