]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
webp: add giflib optional dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 2 Dec 2017 12:31:57 +0000 (13:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Dec 2017 13:43:41 +0000 (14:43 +0100)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webp/webp.mk

index 2f3a78c1ccc30f3438206ec3bbcc14030b23c159..8999720399e1e81485cf4e991db5023ea33430d9 100644 (file)
@@ -29,6 +29,13 @@ else
 WEBP_CONF_OPTS += --disable-libwebpmux
 endif
 
+ifeq ($(BR2_PACKAGE_GIFLIB),y)
+WEBP_DEPENDENCIES += giflib
+WEBP_CONF_OPTS += --enable-gif
+else
+WEBP_CONF_OPTS += --disable-gif
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 WEBP_DEPENDENCIES += libpng
 WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config