summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-03 00:28:08 +0100
committerVincent Sanders <vince@kyllikki.org>2019-10-03 00:28:08 +0100
commitd2391b2dfdf3b9f43616a9822f82e39376639a86 (patch)
treedff17488251ef1f0dd8978112a2e57f718749ce1 /Makefile
parent79e406d951a7971853896492f90955ddf380c8ab (diff)
downloadnetsurf-d2391b2dfdf3b9f43616a9822f82e39376639a86.tar.gz
netsurf-d2391b2dfdf3b9f43616a9822f82e39376639a86.tar.bz2
make the use of libutf8proc coditional
allow the browser to be compiled without libutf8proc. Without this library safe utf8 conversion and verification is not possible so the browser will loose the ability to navigate to adresses using the idna punycode scheme.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b2e89ac5c..ebde9dc93 100644
--- a/Makefile
+++ b/Makefile
@@ -528,7 +528,6 @@ $(eval $(call feature_switch,DUKTAPE,Javascript (Duktape),,,,,))
$(eval $(call pkg_config_find_and_add,libcss,CSS))
$(eval $(call pkg_config_find_and_add,libdom,DOM))
$(eval $(call pkg_config_find_and_add,libnsutils,nsutils))
-$(eval $(call pkg_config_find_and_add,libutf8proc,utf8proc))
# Common libraries without pkg-config support
LDFLAGS += -lz
@@ -554,6 +553,7 @@ else
endif
$(eval $(call pkg_config_find_and_add_enabled,OPENSSL,openssl,OpenSSL))
+$(eval $(call pkg_config_find_and_add_enabled,UTF8PROC,libutf8proc,utf8))
$(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))