Make sure we link with the local libdcp for tests.
authorCarl Hetherington <cth@carlh.net>
Tue, 21 Aug 2012 17:32:02 +0000 (18:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Aug 2012 17:32:02 +0000 (18:32 +0100)
test/wscript

index 136cf36d24e035639815d92d1b0a04f89455c079..08e83d6d39bdd8ef3e4fdfdaf954428c36857b80 100644 (file)
@@ -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'