mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
876 B

  1. From http://svn.exactcode.de/t2/trunk/package/base/glibc32/make-install-lib-all.patch
  2. Rule to install all needed libraries, not just the ones installed by install-lib,
  3. yet not install programs.
  4. diff -Naur glibc-2.3.4.orig/Makerules glibc-2.3.4/Makerules
  5. --- glibc-2.3.4.orig/Makerules 2004-12-15 20:52:39.000000000 +0200
  6. +++ glibc-2.3.4/Makerules 2005-02-19 15:16:31.415125176 +0200
  7. @@ -844,6 +844,13 @@
  8. installed-libcs := $(foreach o,$(filter-out .os,$(object-suffixes-for-libc)),\
  9. $(inst_libdir)/$(patsubst %,$(libtype$o),\
  10. $(libprefix)$(libc-name)))
  11. +
  12. +install-lib-all: $(inst_slibdir)/libc.so$(libc.so-version) \
  13. + $(inst_slibdir)/libc-$(version).so \
  14. + $(inst_libdir)/libc.so \
  15. + $(inst_libdir)/libc.a \
  16. + install-lib
  17. +
  18. install: $(installed-libcs)
  19. $(installed-libcs): $(inst_libdir)/lib$(libprefix)%: lib $(+force)
  20. $(make-target-directory)