From 8833ab4d6ef0b68fdab43aa76b797529f38f0765 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 2 Dec 2017 13:31:57 +0100 Subject: [PATCH] webp: add giflib optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/webp/webp.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2