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