mirror of git://sourceware.org/git/glibc.git
* Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
$(notdir $*), so it wins for the explicit libc.so rule as well as the pattern rule.
This commit is contained in:
parent
10b40b115c
commit
193bd2ce37
|
@ -1,7 +1,8 @@
|
||||||
Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
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 $*),
|
* Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
|
||||||
so it wins for the explicit libc.so rule as well as the pattern rule.
|
$(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/stub/sys/sem_buf.h (union semun): New type.
|
||||||
|
|
||||||
|
|
|
@ -554,10 +554,10 @@ lib%.so: lib%_pic.a; $(build-shlib)
|
||||||
|
|
||||||
define build-shlib
|
define build-shlib
|
||||||
$(LINK.o) -shared -o $@ -Wl,-soname \
|
$(LINK.o) -shared -o $@ -Wl,-soname \
|
||||||
-Wl,lib$(libprefix)$(@F:lib%=%).so$($(@F)-version) \
|
-Wl,lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
|
||||||
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%=%).so) \
|
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
|
||||||
-L$(firstword $(objdir) .) -L$(common-objpfx:%/=%) \
|
-L$(firstword $(objdir) .) -L$(common-objpfx:%/=%) \
|
||||||
-Wl,--whole-archive $^ $(LDLIBS-$(@F:lib%=%).so)
|
-Wl,--whole-archive $^ $(LDLIBS-$(@F:lib%.so=%).so)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Don't try to use -lc when making libc.so itself.
|
# Don't try to use -lc when making libc.so itself.
|
||||||
|
|
Loading…
Reference in New Issue