summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-01-28 21:16:02 +0000
committerCarl Hetherington <cth@carlh.net>2016-01-28 21:16:02 +0000
commit60ca129e2fbbb65e9b3051fb3da8448a3cb22f84 (patch)
tree3703842d2496d004dbc5b156b975ec3a68487a93
parentb28be8a5d9610dc8c83a19d1d531f9ebf21e1492 (diff)
Try to fix cscript build.
-rw-r--r--examples/wscript4
-rw-r--r--test/wscript2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/wscript b/examples/wscript
index 2e9d30a7..2d6cabd9 100644
--- a/examples/wscript
+++ b/examples/wscript
@@ -20,7 +20,7 @@ def build(bld):
obj = bld(features='cxx cxxprogram')
obj.name = 'make_dcp'
obj.use = 'libdcp%s' % bld.env.API_VERSION
- obj.uselib = 'OPENJPEG CXML OPENMP'
+ obj.uselib = 'OPENJPEG CXML OPENMP ASDCPLIB_CTH'
obj.source = 'make_dcp.cc'
obj.target = 'make_dcp'
obj.install_path = ''
@@ -28,7 +28,7 @@ def build(bld):
obj = bld(features='cxx cxxprogram')
obj.name = 'read_dcp'
obj.use = 'libdcp%s' % bld.env.API_VERSION
- obj.uselib = 'OPENJPEG CXML MAGICK OPENMP'
+ obj.uselib = 'OPENJPEG CXML MAGICK OPENMP ASDCPLIB_CTH'
obj.source = 'read_dcp.cc'
obj.target = 'read_dcp'
obj.install_path = ''
diff --git a/test/wscript b/test/wscript
index 60a781f6..43db741e 100644
--- a/test/wscript
+++ b/test/wscript
@@ -36,7 +36,7 @@ def configure(conf):
def build(bld):
obj = bld(features='cxx cxxprogram')
obj.name = 'tests'
- obj.uselib = 'BOOST_TEST BOOST_FILESYSTEM OPENJPEG CXML XMLSEC1 SNDFILE OPENMP'
+ obj.uselib = 'BOOST_TEST BOOST_FILESYSTEM OPENJPEG CXML XMLSEC1 SNDFILE OPENMP ASDCPLIB_CTH'
obj.cppflags = ['-fno-inline', '-fno-default-inline', '-fno-elide-constructors', '-g', '-O0']
if bld.is_defined('HAVE_GCOV'):
obj.use = 'libdcp%s_gcov' % bld.env.API_VERSION