From: Carl Hetherington Date: Tue, 18 Jun 2013 15:50:00 +0000 (+0100) Subject: Fix static build. X-Git-Tag: v0.54~3 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=221113dc6844bb0beb8d32544601396649c2616c;p=libdcp.git Fix static build. --- diff --git a/examples/wscript b/examples/wscript index 46d3287b..05cca98f 100644 --- a/examples/wscript +++ b/examples/wscript @@ -2,7 +2,7 @@ def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'examples' obj.use = 'libdcp' - obj.uselib = 'OPENJPEG' + obj.uselib = 'OPENJPEG CXML' obj.source = 'make_dcp.cc' obj.target = 'make_dcp' obj.install_path = '' diff --git a/test/wscript b/test/wscript index 43ca7d73..4a2f60a5 100644 --- a/test/wscript +++ b/test/wscript @@ -18,7 +18,7 @@ def configure(conf): def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'tests' - obj.uselib = 'BOOST_TEST OPENJPEG' + obj.uselib = 'BOOST_TEST OPENJPEG CXML' obj.use = 'libdcp' obj.source = 'tests.cc' obj.target = 'tests' @@ -26,7 +26,7 @@ def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'subs_in_out' - obj.uselib = 'BOOST_TEST OPENJPEG' + obj.uselib = 'BOOST_TEST OPENJPEG CXML' obj.use = 'libdcp' obj.source = 'subs_in_out.cc' obj.target = 'subs_in_out' @@ -34,7 +34,7 @@ def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'rewrite_subs' - obj.uselib = 'BOOST_TEST OPENJPEG' + obj.uselib = 'BOOST_TEST OPENJPEG CXML' obj.use = 'libdcp' obj.source = 'rewrite_subs.cc' obj.target = 'rewrite_subs' diff --git a/tools/wscript b/tools/wscript index a79b3c9d..e4a32534 100644 --- a/tools/wscript +++ b/tools/wscript @@ -1,13 +1,13 @@ def build(bld): obj = bld(features = 'cxx cxxprogram') obj.use = ['libdcp'] - obj.uselib = 'OPENJPEG' + obj.uselib = 'OPENJPEG CXML' obj.source = 'dcpdiff.cc' obj.target = 'dcpdiff' obj = bld(features = 'cxx cxxprogram') obj.use = ['libdcp'] - obj.uselib = 'OPENJPEG' + obj.uselib = 'OPENJPEG CXML' obj.source = 'dcpinfo.cc' obj.target = 'dcpinfo'