summaryrefslogtreecommitdiffstats
path: root/rules/pre/Rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/pre/Rules.make')
-rw-r--r--rules/pre/Rules.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 183e2e704..58a45847b 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -251,6 +251,12 @@ ifndef PTXCONF_HAS_MMU
CROSS_ENV_AC += ac_cv_func_fork=no
endif
+ifdef PTXCONF_ICONV
+CROSS_ENV_AC += ac_cv_func_iconv_open=yes
+else
+CROSS_ENV_AC += ac_cv_func_iconv_open=no
+endif
+
#
# We want to use DESTDIR and --prefix=/usr, to get no build paths in our
# binaries. Unfortunately, not all packages support this, especially