[Buildroot] [PATCH 4/7] gnutls: add optional libidn2 support
Fabrice Fontaine
fontaine.fabrice at gmail.com
Tue May 1 20:40:35 UTC 2018
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/gnutls/gnutls.mk | 7 +++++++
1 file changed, 7 insertions(+)
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
--
2.14.1
More information about the buildroot
mailing list