summaryrefslogtreecommitdiff
path: root/patches/glibc/2.7/make-install-lib-all.patch.dont_apply
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-02-17 22:19:26 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-02-17 22:19:26 (GMT)
commit20eeb8e122866362827acbac8665adee4c28c95c (patch)
treea10740b40c3f81454ba4c40c3c3718a1dc1220e0 /patches/glibc/2.7/make-install-lib-all.patch.dont_apply
parent55fbe7b02b8b16842d150fc052ef74f9e82a886a (diff)
Robert P. J. DAY says:
Based on feedback from Mike Frysinger, add the following patchset for glibc-2.7. Not stress-tested, but at least make it available for interested testers.
Diffstat (limited to 'patches/glibc/2.7/make-install-lib-all.patch.dont_apply')
-rw-r--r--patches/glibc/2.7/make-install-lib-all.patch.dont_apply24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/glibc/2.7/make-install-lib-all.patch.dont_apply b/patches/glibc/2.7/make-install-lib-all.patch.dont_apply
new file mode 100644
index 0000000..ea975fd
--- /dev/null
+++ b/patches/glibc/2.7/make-install-lib-all.patch.dont_apply
@@ -0,0 +1,24 @@
+From http://svn.exactcode.de/t2/trunk/package/base/glibc32/make-install-lib-all.patch
+Rule to install all needed libraries, not just the ones installed by install-lib,
+yet not install programs.
+Needed because we can't use the main install target, as we can't build programs before
+we have the final gcc installed; linking fails because libeh.a is not present,
+and glibc insists on linking programs with that library.
+
+diff -Naur glibc-2.3.4.orig/Makerules glibc-2.3.4/Makerules
+--- glibc-2.3.4.orig/Makerules 2004-12-15 20:52:39.000000000 +0200
++++ glibc-2.3.4/Makerules 2005-02-19 15:16:31.415125176 +0200
+@@ -867,6 +867,13 @@
+ installed-libcs := $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\
+ $(inst_libdir)/$(patsubst %,$(libtype$o),\
+ $(libprefix)$(libc-name)))
++
++install-lib-all: $(inst_slibdir)/libc.so$(libc.so-version) \
++ $(inst_slibdir)/libc-$(version).so \
++ $(inst_libdir)/libc.so \
++ $(inst_libdir)/libc.a \
++ install-lib
++
+ install: $(installed-libcs)
+ $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
+ $(make-target-directory)