diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-05 13:15:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-05 13:15:37 +0000 |
| commit | a34e100c7e8f7bce98cf074ecb0507fe6175df61 (patch) | |
| tree | 96a181b010964e7c7f89a3c14a010573d868612e /wscript | |
| parent | 22a1f899925b9bf0632563caf7da95fcba021ceb (diff) | |
Try to fix build on older Ubuntus etc.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 <zip.h> + 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) |
