wget: add optional dependency for libidn2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2018-05-01 22:40:34 +02:00 committed by Thomas Petazzoni
parent 8451acf298
commit 4d71ef3cf6

View File

@ -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