From: Fabrice Fontaine Date: Tue, 1 May 2018 20:40:34 +0000 (+0200) Subject: wget: add optional dependency for libidn2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d71ef3cf658b2bb3400938bb1e6b0ddd4f28dbd;p=buildroot.git wget: add optional dependency for libidn2 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- 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