summaryrefslogtreecommitdiff
path: root/test/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-21 18:32:02 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-21 18:32:02 +0100
commit3fc1eba823a52603aa58f3df6f08dc4e73309c63 (patch)
treeeabff46e7a623ba910e9e995382ef0f0ff522985 /test/wscript
parent3f867002a036c40b188a7874231824cfd1b4d862 (diff)
Make sure we link with the local libdcp for tests.
Diffstat (limited to 'test/wscript')
-rw-r--r--test/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/wscript b/test/wscript
index 136cf36d..08e83d6d 100644
--- a/test/wscript
+++ b/test/wscript
@@ -13,6 +13,8 @@ def configure(conf):
lib = 'boost_unit_test_framework%s' % boost_lib_suffix,
uselib_store = 'BOOST_TEST')
+ conf.env.prepend_value('LINKFLAGS', '-Lsrc')
+
def build(bld):
obj = bld(features = 'cxx cxxprogram')
obj.name = 'tests'