summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-04 23:39:20 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-04 23:39:20 +0000
commit078537def975e7745c385fab7a09d45fe4f4db87 (patch)
tree7bbc789ff835aa0241ffb63c1e34044062a8508a /wscript
parentfca15f0aba492fcb49b00e8d817bbebfe31a6012 (diff)
Don't need to explicitly link to OpenJPEG.
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 0 insertions, 11 deletions
diff --git a/wscript b/wscript
index 52965b132..688ebc681 100644
--- a/wscript
+++ b/wscript
@@ -39,7 +39,6 @@ def options(opt):
opt.add_option('--target-windows', action='store_true', default=False, help='set up to do a cross-compile to make a Windows package')
opt.add_option('--static-dcpomatic', action='store_true', default=False, help='link to components of DCP-o-matic statically')
opt.add_option('--static-boost', action='store_true', default=False, help='link statically to Boost')
- opt.add_option('--static-openjpeg', action='store_true', default=False, help='link statically to OpenJPEG')
opt.add_option('--static-wxwidgets', action='store_true', default=False, help='link statically to wxWidgets')
opt.add_option('--static-ffmpeg', action='store_true', default=False, help='link statically to FFmpeg')
opt.add_option('--static-xmlpp', action='store_true', default=False, help='link statically to libxml++')
@@ -268,15 +267,6 @@ def configure(conf):
else:
conf.env.LIB_XMLSEC = ['xmlsec1-openssl', 'xmlsec1']
- # OpenJPEG
- if conf.options.static_openjpeg:
- conf.check_cfg(package='libopenjpeg', args='--cflags', atleast_version='1.5.0', uselib_store='OPENJPEG', mandatory=True)
- conf.check_cfg(package='libopenjpeg', args='--cflags', max_version='1.5.2', mandatory=True)
- conf.env.STLIB_OPENJPEG = ['openjpeg']
- else:
- conf.check_cfg(package='libopenjpeg', args='--cflags --libs', atleast_version='1.5.0', uselib_store='OPENJPEG', mandatory=True)
- conf.check_cfg(package='libopenjpeg', args='--cflags --libs', max_version='1.5.2', mandatory=True)
-
# FFmpeg
if conf.options.static_ffmpeg:
names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc']
@@ -414,7 +404,6 @@ def configure(conf):
report('DCP-o-matic libraries', conf.options.static_dcpomatic)
report('Boost', conf.options.static_boost)
- report('OpenJPEG', conf.options.static_openjpeg)
report('wxWidgets', conf.options.static_wxwidgets)
report('FFmpeg', conf.options.static_ffmpeg)
report('libxml++', conf.options.static_xmlpp)