aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/dillo/Config.in1
-rw-r--r--package/dillo/dillo.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/dillo/Config.in b/package/dillo/Config.in
index 8d3cbb13a3..5c2cc6280f 100644
--- a/package/dillo/Config.in
+++ b/package/dillo/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_DILLO
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU # fltk fork()
select BR2_PACKAGE_FLTK
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Dillo is a multi-platform graphical web browser known
for its speed and small footprint.
diff --git a/package/dillo/dillo.mk b/package/dillo/dillo.mk
index bce23b01c6..d6fc7469b9 100644
--- a/package/dillo/dillo.mk
+++ b/package/dillo/dillo.mk
@@ -17,6 +17,8 @@ DILLO_DEPENDENCIES = fltk
DILLO_CONF_ENV = ac_cv_path_FLTK_CONFIG=$(STAGING_DIR)/usr/bin/fltk-config
+DILLO_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
DILLO_CONF_OPTS += --enable-ssl
DILLO_DEPENDENCIES += openssl