# 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)
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)