diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-18 23:34:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-29 00:27:17 +0200 |
| commit | 59c4edb69ba926d3790198cd2b62dc601944a632 (patch) | |
| tree | 5f209c2aa5cbf60ec194bc1ab25ea63c75c4e854 /wscript | |
| parent | 7ec6c86c913fba820870565ee757fdf43ae47433 (diff) | |
Add image_as_jpeg()
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -348,6 +348,18 @@ def configure(conf): # libpng conf.check_cfg(package='libpng', args='--cflags --libs', uselib_store='PNG', mandatory=True) + # libjpeg + conf.check_cxx(fragment=""" + #include <cstddef> + #include <cstdio> + #include <jpeglib.h> + int main() { struct jpeg_compress_struct compress; jpeg_create_compress (&compress); return 0; } + """, + msg='Checking for libjpeg', + libpath='/usr/local/lib', + lib=['jpeg'], + uselib_store='JPEG') + # lwext4 if conf.options.enable_disk: conf.check_cxx(fragment=""" |
