patches/glibc/2.3.6/make-install-lib-all.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.6/make-install-lib-all.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +From http://svn.exactcode.de/t2/trunk/package/base/glibc32/make-install-lib-all.patch
     1.5 +Rule to install all needed libraries, not just the ones installed by install-lib,
     1.6 +yet not install programs.  
     1.7 +Needed because we can't use the main install target, as we can't build programs before
     1.8 +we have the final gcc installed; linking fails because libeh.a is not present,
     1.9 +and glibc insists on linking programs with that library.
    1.10 +
    1.11 +diff -Naur glibc-2.3.4.orig/Makerules glibc-2.3.4/Makerules
    1.12 +--- glibc-2.3.4.orig/Makerules	2004-12-15 20:52:39.000000000 +0200
    1.13 ++++ glibc-2.3.4/Makerules	2005-02-19 15:16:31.415125176 +0200
    1.14 +@@ -844,6 +844,13 @@
    1.15 + installed-libcs := $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\
    1.16 + 			     $(inst_libdir)/$(patsubst %,$(libtype$o),\
    1.17 + 						     $(libprefix)$(libc-name)))
    1.18 ++
    1.19 ++install-lib-all: $(inst_slibdir)/libc.so$(libc.so-version) \
    1.20 ++		$(inst_slibdir)/libc-$(version).so \
    1.21 ++		$(inst_libdir)/libc.so \
    1.22 ++		$(inst_libdir)/libc.a \
    1.23 ++		install-lib
    1.24 ++
    1.25 + install: $(installed-libcs)
    1.26 + $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
    1.27 + 	$(make-target-directory)
    1.28 +
    1.29 +Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>