From: Fabrice Fontaine Date: Sat, 2 Dec 2017 12:31:57 +0000 (+0100) Subject: webp: add giflib optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8833ab4d6ef0b68fdab43aa76b797529f38f0765;p=buildroot.git webp: add giflib optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/webp/webp.mk b/package/webp/webp.mk index 2f3a78c1cc..8999720399 100644 --- a/package/webp/webp.mk +++ b/package/webp/webp.mk @@ -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