From 78a3807295f7436297056aab6ff4916bdb0f8289 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sat, 5 Feb 2022 13:18:30 -0700 Subject: [PATCH] package/webp: enable host build This will be needed by qt5webengine. Signed-off-by: James Hilliard [Peter: explicitly disable gif/gl/jpeg/png/tiff support] Signed-off-by: Peter Korsgaard --- package/webp/webp.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/webp/webp.mk b/package/webp/webp.mk index d1462426c6..e8d204919c 100644 --- a/package/webp/webp.mk +++ b/package/webp/webp.mk @@ -19,6 +19,15 @@ WEBP_CONF_OPTS += \ --with-tiffincludedir=$(STAGING_DIR)/usr/include \ --with-tifflibdir=$(STAGING_DIR)/usr/lib +HOST_WEBP_CONF_OPTS += \ + --enable-libwebpdemux \ + --enable-libwebpmux \ + --disable-gif \ + --disable-gl \ + --disable-jpeg \ + --disable-png \ + --disable-tiff + ifeq ($(BR2_PACKAGE_WEBP_DEMUX),y) WEBP_CONF_OPTS += --enable-libwebpdemux else @@ -56,3 +65,4 @@ WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg) WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff) $(eval $(autotools-package)) +$(eval $(host-autotools-package))