if target.platform == 'windows':
return ()
else:
- # XXX: should be some versions in here
- return (('libcxml', None), ('openjpeg-cdist', None))
+ return (('libcxml', 'v0.05'), ('openjpeg-cdist', '6771627cfa63e315d2e23d81669cafcdc66ddc9f'))
def build(target):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
conf.env.HAVE_CXML = 1
conf.env.STLIB_CXML = ['cxml']
else:
- conf.check_cfg(package = 'libopenjpeg', args = '--cflags --libs', uselib_store = 'OPENJPEG', mandatory = True)
- conf.check_cfg(package = 'libcxml', args = '--cflags --libs', uselib_store = 'CXML', mandatory = True)
+ conf.check_cfg(package='libopenjpeg', args='--cflags --libs', uselib_store='OPENJPEG', mandatory=True)
+ conf.check_cfg(package='libcxml', atleast_version='0.05', args='--cflags --libs', uselib_store='CXML', mandatory=True)
if conf.options.target_windows:
boost_lib_suffix = '-mt'