summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-02-17 11:50:39 +0000
committerVincent Sanders <vince@kyllikki.org>2019-02-17 11:50:39 +0000
commit160d15b45b45136d273b16fefb59d9071dd77d6d (patch)
tree7be89e0aad92e71c0fd5094132918309fadc31b8 /Makefile
parent54371c28f07e638694ad2148e8900e1bae71e3d4 (diff)
downloadnetsurf-vince/webp.tar.gz
netsurf-vince/webp.tar.bz2
add webp image handlervince/webp
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f86042897..0d4f3ae7d 100644
--- a/Makefile
+++ b/Makefile
@@ -535,6 +535,7 @@ LDFLAGS += -lz
# Optional libraries with pkgconfig
# define additional CFLAGS and LDFLAGS requirements for pkg-configed libs
+NETSURF_FEATURE_WEBP_CFLAGS := -DWITH_WEBP
NETSURF_FEATURE_PNG_CFLAGS := -DWITH_PNG
NETSURF_FEATURE_BMP_CFLAGS := -DWITH_BMP
NETSURF_FEATURE_GIF_CFLAGS := -DWITH_GIF
@@ -558,6 +559,7 @@ else
endif
$(eval $(call pkg_config_find_and_add_enabled,OPENSSL,openssl,OpenSSL))
+$(eval $(call pkg_config_find_and_add_enabled,WEBP,libwebp,WEBP))
$(eval $(call pkg_config_find_and_add_enabled,PNG,libpng,PNG))
$(eval $(call pkg_config_find_and_add_enabled,BMP,libnsbmp,BMP))
$(eval $(call pkg_config_find_and_add_enabled,GIF,libnsgif,GIF))