package/wget: add optional dependency to libiconv

wget has an optional dependency to libiconv:
http://git.savannah.gnu.org/cgit/wget.git/tree/configure.ac#n344

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.05.x
Bernd Kuhls 2020-03-16 20:15:27 +01:00 committed by Thomas Petazzoni
parent b53987e09e
commit a3460121b1
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ else
WGET_CONF_OPTS += --without-ssl
endif
ifeq ($(BR2_PACKAGE_LIBICONV),y)
WGET_DEPENDENCIES += libiconv
endif
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
WGET_CONF_OPTS += --with-libidn
WGET_DEPENDENCIES += libidn2