From: Ulrich Drepper Date: Thu, 7 Jul 2011 01:38:49 +0000 (-0400) Subject: Fix for installation in sysdeps/s390/s390-64/Makefile X-Git-Tag: glibc-2.15~483 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0cfb5eb3da59b9ed1fd1e06825b6dd62534b42b;p=thirdparty%2Fglibc.git Fix for installation in sysdeps/s390/s390-64/Makefile --- diff --git a/ChangeLog b/ChangeLog index 6ac3ae0b898..8ad847a6d98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-06-21 Andreas Jaeger + + * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules): + Copy rule from iconvdata/Makefile. + 2011-07-06 Ulrich Drepper [BZ #12922] diff --git a/sysdeps/s390/s390-64/Makefile b/sysdeps/s390/s390-64/Makefile index 1814f37abd6..1dd3acf7327 100644 --- a/sysdeps/s390/s390-64/Makefile +++ b/sysdeps/s390/s390-64/Makefile @@ -74,5 +74,17 @@ $(objpfx)gconv-modules-s390: gconv-modules $(+force) $(inst_gconvdir)/gconv-modules: $(objpfx)gconv-modules-s390 $(+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 \ + LC_ALL=C LANGUAGE=C \ + $(common-objpfx)elf/ld.so --library-path $(rpath-link) \ + $(common-objpfx)iconv/iconvconfig \ + $(addprefix --prefix=,$(install_root)); \ + fi +else + @echo '*@*@*@ You should recreate $(inst_gconvdir)/gconv-modules.cache' +endif endif