diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-05-01 22:40:35 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-05-20 16:11:00 +0200 |
commit | f48d3ff58b0584b6e64fdc3ea453e088af40dfba (patch) | |
tree | 3c6b7433617a0ebb5d63f2a8f725eb329108fdbb | |
parent | 4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd (diff) | |
download | buildroot-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.mk | 7 |
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 |