From b0da0e5067137b5b472647c4259727b3817b2c6e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 16 Oct 2010 13:50:35 +0000 Subject: Fix WebP images for little-endian processors, and enable for gtk build. Direct links work, images embedded in web pages are not showing up - test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/ svn path=/trunk/netsurf/; revision=10886 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 86c71f9ec..87d103c17 100644 --- a/Makefile +++ b/Makefile @@ -442,6 +442,7 @@ ifeq ($(TARGET),gtk) NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP NETSURF_FEATURE_GIF_CFLAGS := -DWITH_GIF NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG + NETSURF_FEATURE_WEBP_CFLAGS := -DWITH_WEBP # add a line similar to below for each optional pkg-configed lib here $(eval $(call pkg_config_find_and_add,RSVG,librsvg-2.0,SVG)) @@ -451,6 +452,9 @@ ifeq ($(TARGET),gtk) $(eval $(call pkg_config_find_and_add,GIF,libnsgif,GIF)) $(eval $(call pkg_config_find_and_add,PNG,libpng,PNG )) + # no pkg-config for this library + $(eval $(call feature_enabled,WEBP,-DWITH_WEBP,-lwebp -lvpx,WebP (libwebp))) + GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \ -DGTK_DISABLE_DEPRECATED \ -D_BSD_SOURCE \ -- cgit v1.2.3