Include trimming.
[dcpomatic.git] / wscript
diff --git a/wscript b/wscript
index ddf0a240cecf863d1d3c74375f03d64e4d894e20..7c196e9546f1baa31293ab142c31a21fd86b30e6 100644 (file)
--- a/wscript
+++ b/wscript
@@ -86,7 +86,7 @@ def configure(conf):
 
     # Dependencies which are dynamically linked everywhere except --static
     # Get libs only when we are dynamically linking
-    conf.check_cfg(package='libdcp',        atleast_version='0.66', args=pkg_config_args(conf), uselib_store='DCP',  mandatory=True)
+    conf.check_cfg(package='libdcp',        atleast_version='0.67', args=pkg_config_args(conf), uselib_store='DCP',  mandatory=True)
     # Remove erroneous escaping of quotes from xmlsec1 defines
     conf.env.DEFINES_DCP = [f.replace('\\', '') for f in conf.env.DEFINES_DCP]
     conf.check_cfg(package='libcxml',       atleast_version='0.01', args=pkg_config_args(conf), uselib_store='CXML', mandatory=True)
@@ -118,6 +118,7 @@ def configure(conf):
         conf.env.STLIB_SWSCALE    = ['swscale']
         conf.env.STLIB_POSTPROC   = ['postproc']
         conf.env.STLIB_SWRESAMPLE = ['swresample']
+        conf.env.STLIB_OPENJPEG   = ['openjpeg']
 
     # Dependencies which are always dynamically linked
     conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True)