X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=6f2c3df12b1206f48814339bd7a37e1f42f5a5b3;hb=dcb8eea81538712fae2c67d0e900f5906244ef7c;hp=1449853af63574dc26ad070580c7435516f4724e;hpb=458aeb6ab1988549f9011654eb18749aa30fd3c8;p=dcpomatic.git diff --git a/wscript b/wscript index 1449853af..6f2c3df12 100644 --- a/wscript +++ b/wscript @@ -27,7 +27,7 @@ import distutils.spawn from waflib import Logs, Context APPNAME = 'dcpomatic' -VERSION = '2.11.33' +VERSION = '2.11.36' def options(opt): opt.load('compiler_cxx') @@ -269,6 +269,15 @@ def configure(conf): # libzip conf.check_cfg(package='libzip', args='--cflags --libs', uselib_store='ZIP', mandatory=True) + conf.check_cxx(fragment=""" + #include + int main() { zip_source_t* foo; } + """, + mandatory=False, + msg="Checking for zip_source_t", + uselib="ZIP", + define_name='DCPOMATIC_HAVE_ZIP_SOURCE_T' + ) # fontconfig conf.check_cfg(package='fontconfig', args='--cflags --libs', uselib_store='FONTCONFIG', mandatory=True)