summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-05-01 22:40:35 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-20 16:11:00 +0200
commitf48d3ff58b0584b6e64fdc3ea453e088af40dfba (patch)
tree3c6b7433617a0ebb5d63f2a8f725eb329108fdbb
parent4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd (diff)
downloadbuildroot-f48d3ff58b0584b6e64fdc3ea453e088af40dfba.tar.gz
buildroot-f48d3ff58b0584b6e64fdc3ea453e088af40dfba.zip
gnutls: add optional libidn2 support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/gnutls/gnutls.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 6be7c6e27e..3d1a627781 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -68,6 +68,13 @@ else
GNUTLS_CONF_OPTS += --without-idn
endif
+ifeq ($(BR2_PACKAGE_LIBIDN2),y)
+GNUTLS_CONF_OPTS += --with-libidn2
+GNUTLS_DEPENDENCIES += libidn2
+else
+GNUTLS_CONF_OPTS += --without-libidn2
+endif
+
ifeq ($(BR2_PACKAGE_P11_KIT),y)
GNUTLS_CONF_OPTS += --with-p11-kit
GNUTLS_DEPENDENCIES += p11-kit
OpenPOWER on IntegriCloud