From 102800e09dd56055f0e1a6f6868bfa5ac87d9459 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 17 Dec 1995 10:00:23 +0000 Subject: 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. --- Makerules | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Makerules') 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,%,$(