From 102800e09dd56055f0e1a6f6868bfa5ac87d9459 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 17 Dec 1995 10:00:23 +0000 Subject: [PATCH] Sat Dec 16 10:33:11 1995 Roland McGrath * Makerules: Use $(do-install-so) for installing shared objects. (do-install-so): New canned sequence. Make a symlink LIB.so after installing LIB.so.VERSION. * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS. --- ChangeLog | 8 ++++++++ Makerules | 17 ++++++++++++----- posix/regex.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 66 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index d09be84..7a67fc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Sat Dec 16 10:33:11 1995 Roland McGrath + + * Makerules: Use $(do-install-so) for installing shared objects. + (do-install-so): New canned sequence. Make a symlink LIB.so after + installing LIB.so.VERSION. + + * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS. + Fri Dec 15 04:41:22 1995 Ulrich Drepper * stdio-common/Makefile (tests): Add bug10. diff --git a/Makerules b/Makerules index 32dacce..530b1ac 100644 --- a/Makerules +++ b/Makerules @@ -482,14 +482,21 @@ install-lib-nosubdir: $(foreach so,$(install-lib.so),\ install: $(slibdir)/libc.so$(libc.so-version) $(slibdir)/lib$(libprefix)c.so$(libc.so-version): $(common-objpfx)libc.so - $(do-install-program) + $(do-install-so) + +define do-install-so +$(do-install-program) +$(patsubst %,ln -s -f $(@F) $(@D)/$(patsubst %$*.so,%,$(