From: Fabrice Fontaine Date: Sat, 2 Dec 2017 14:03:07 +0000 (+0100) Subject: webp: add libfreeglut optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=523490e74786ee4500fe5e01801f3087660d498f;p=buildroot.git webp: add libfreeglut 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 8999720399..e86e798d9d 100644 --- a/package/webp/webp.mk +++ b/package/webp/webp.mk @@ -36,6 +36,13 @@ else WEBP_CONF_OPTS += --disable-gif endif +ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) +WEBP_DEPENDENCIES += libfreeglut +WEBP_CONF_OPTS += --enable-gl +else +WEBP_CONF_OPTS += --disable-gl +endif + ifeq ($(BR2_PACKAGE_LIBPNG),y) WEBP_DEPENDENCIES += libpng WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config