summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-05-01 22:40:34 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-20 16:10:53 +0200
commit4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd (patch)
treee8ca73a109acdd68b950700618f106523d5bac86
parent8451acf298714cd3870366c82a26eafc9c2c00b7 (diff)
downloadbuildroot-4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd.tar.gz
buildroot-4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd.zip
wget: add optional dependency for libidn2
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/wget/wget.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wget/wget.mk b/package/wget/wget.mk
index 23e4c8acca..c3c792f1e8 100644
--- a/package/wget/wget.mk
+++ b/package/wget/wget.mk
@@ -26,6 +26,13 @@ else
WGET_CONF_OPTS += --without-ssl
endif
+ifeq ($(BR2_PACKAGE_LIBIDN2),y)
+WGET_CONF_OPTS += --with-libidn
+WGET_DEPENDENCIES += libidn2
+else
+WGET_CONF_OPTS += --without-libidn
+endif
+
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
WGET_DEPENDENCIES += util-linux
endif
OpenPOWER on IntegriCloud