libsixel/meson.patch
2023-11-06 12:41:22 +08:00

25 lines
751 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -101,17 +101,17 @@
python2_installation = pymod.find_installation('python2', required: get_option('python2'))
if get_option('libcurl').enabled() and curl_found.found()
- conf_data.set('HAVE_LIBCURL', true)
+ conf_data.set('HAVE_LIBCURL', 1)
libsixel_deps += [curl_found]
endif
-if get_option('jpeg').enabled() and jpeg_found
- conf_data.set('HAVE_JPEG', true)
+if get_option('jpeg').enabled() and jpeg_found.found()
+ conf_data.set('HAVE_JPEG', 1)
libsixel_deps += [jpeg_found]
endif
-if get_option('png').enabled() and png_found
- conf_data.set('HAVE_PNG', true)
+if get_option('png').enabled() and png_found.found()
+ conf_data.set('HAVE_PNG', 1)
libsixel_deps += [png_found]
endif