Skip to contentSkip to conversation

webp: add libfreeglut optional dependency

Buildroot Thomas Petazzoni 1 participant 1 message Dec 2, 2017

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=523490e74786ee4500fe5e01801f3087660d498f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

---
 package/webp/webp.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/webp/webp.mk +7 -0
index 8999720..e86e798 100644
@@ -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