[1/1] package/wget: add optional dependency to libiconv
diff mbox series

Message ID 20200316191527.551576-1-bernd.kuhls@t-online.de
State New
Headers show
Series
  • [1/1] package/wget: add optional dependency to libiconv
Related show

Commit Message

Bernd Kuhls March 16, 2020, 7:15 p.m. UTC
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>
---
 package/wget/wget.mk | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/package/wget/wget.mk b/package/wget/wget.mk
index 7b9c3e75d9..ed3f1fdff9 100644
--- a/package/wget/wget.mk
+++ b/package/wget/wget.mk
@@ -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