From d8d5a6478eef73ad71000bedee214b85affc15ed Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 30 Jun 2002 17:15:19 +0000 Subject: Update. * iconvdata/Makefile: Recreate gconv-modules.cache file in taret directory if it existed before. * iconv/iconvconfig.c: Implement --prefix option. --- iconvdata/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'iconvdata/Makefile') diff --git a/iconvdata/Makefile b/iconvdata/Makefile index 20281ecf88..aeb4ff979b 100644 --- a/iconvdata/Makefile +++ b/iconvdata/Makefile @@ -279,6 +279,14 @@ $(addprefix $(inst_gconvdir)/, $(modules.so)): \ $(do-install-program) $(inst_gconvdir)/gconv-modules: gconv-modules $(+force) $(do-install) +# 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 \ + LC_ALL=C LANGUAGE=C \ + $(common-objpfx)elf/ld.so --library-path $(rpath-link) \ + $(common-objpfx)iconv/iconvconfig \ + $(addprefix --prefix=,$(install_root)); \ + fi endif # build-shared = yes -- cgit v1.2.1