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