diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-18 23:34:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-12-23 12:59:56 +0100 |
| commit | c0733033923d369cce3d76b318e969bf89a130b9 (patch) | |
| tree | 3631101ddc1dfb2366e7c6ba3d1df38dc8b921cd /wscript | |
| parent | f09bbf9d037975b5a6113c4d5634c82625a51683 (diff) | |
Add image_as_jpeg()
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -343,6 +343,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=""" |
