diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-21 15:16:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-21 15:16:01 +0000 |
commit | 10b40b115cf30ae7d4edf27ff90d5c4e59c0b311 (patch) | |
tree | 13a74d7b9074fffe8009b96518b69377888a4aba | |
parent | 0324daa0055227fdb157b8491d4e5bbe9d9d579a (diff) | |
download | glibc-10b40b115cf30ae7d4edf27ff90d5c4e59c0b311.tar.gz glibc-10b40b115cf30ae7d4edf27ff90d5c4e59c0b311.tar.xz glibc-10b40b115cf30ae7d4edf27ff90d5c4e59c0b311.zip |
* Makerules (build-shlib): Use $(@F:lib%=%) in place of $(notdir $*),
so it wins for the explicit libc.so rule as well as the pattern rule.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makerules | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index d15c02a937..3301ea1524 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + * Makerules (build-shlib): Use $(@F:lib%=%) in place of $(notdir $*), + so it wins for the explicit libc.so rule as well as the pattern rule. + * sysdeps/stub/sys/sem_buf.h (union semun): New type. * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call diff --git a/Makerules b/Makerules index a781c43921..04c43871ad 100644 --- a/Makerules +++ b/Makerules @@ -554,10 +554,10 @@ lib%.so: lib%_pic.a; $(build-shlib) define build-shlib $(LINK.o) -shared -o $@ -Wl,-soname \ - -Wl,lib$(libprefix)$(notdir $*).so$($(@F)-version) \ - $(LDFLAGS.so) $(LDFLAGS-$(notdir $*).so) \ + -Wl,lib$(libprefix)$(@F:lib%=%).so$($(@F)-version) \ + $(LDFLAGS.so) $(LDFLAGS-$(@F:lib%=%).so) \ -L$(firstword $(objdir) .) -L$(common-objpfx:%/=%) \ - -Wl,--whole-archive $^ $(LDLIBS-$(notdir $*).so) + -Wl,--whole-archive $^ $(LDLIBS-$(@F:lib%=%).so) endef # Don't try to use -lc when making libc.so itself. |