summaryrefslogtreecommitdiff
path: root/iconvdata/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/Makefile')
-rw-r--r--iconvdata/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index aeb4ff979b..43083b0bbf 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -279,6 +279,7 @@ $(addprefix $(inst_gconvdir)/, $(modules.so)): \
$(do-install-program)
$(inst_gconvdir)/gconv-modules: gconv-modules $(+force)
$(do-install)
+ifeq (no,$(cross-compiling))
# Update the $(prefix)/lib/gconv/gconv-modules.cache file. This is necessary
# if this libc has more gconv modules than the previously installed one.
if test -f "$(inst_gconvdir)/gconv-modules.cache"; then \
@@ -287,6 +288,9 @@ $(inst_gconvdir)/gconv-modules: gconv-modules $(+force)
$(common-objpfx)iconv/iconvconfig \
$(addprefix --prefix=,$(install_root)); \
fi
+else
+ @echo '*@*@*@ You should recreate $(inst_gconvdir)/gconv-modules.cache'
+endif
endif # build-shared = yes