mirror of git://sourceware.org/git/glibc.git
($(installed-libcs)): Depend on `lib' (only).
This commit is contained in:
parent
9e63357e18
commit
9f2233e81a
10
Makerules
10
Makerules
|
@ -458,15 +458,11 @@ installed-libcs := $(foreach o,$(object-suffixes),\
|
||||||
$(libdir)/$(patsubst %,$(libtype$o),\
|
$(libdir)/$(patsubst %,$(libtype$o),\
|
||||||
$(libprefix)$(libc-name)))
|
$(libprefix)$(libc-name)))
|
||||||
install: $(installed-libcs)
|
install: $(installed-libcs)
|
||||||
# We avoid depending on lib-noranlib because that makes the parent make
|
$(installed-libcs): $(libdir)/lib$(libprefix)%: lib
|
||||||
# subdir_lib in all the subdirs, when the make install run they do will
|
|
||||||
# update the library anyway. Running ranlib after installing makes the
|
|
||||||
# __.SYMDEF time stamp up to date, which avoids messages from some linkers.
|
|
||||||
# Depending on subdir_install gets all the subdirs to update the library,
|
|
||||||
# and is optimal for `make install' at top level.
|
|
||||||
$(installed-libcs): $(libdir)/lib$(libprefix)%: libobjs subdir_install
|
|
||||||
$(make-target-directory)
|
$(make-target-directory)
|
||||||
$(INSTALL_DATA) $(common-objpfx)lib$(*:$(libc-name)%=c%) $@
|
$(INSTALL_DATA) $(common-objpfx)lib$(*:$(libc-name)%=c%) $@
|
||||||
|
# Running ranlib after installing makes the __.SYMDEF time stamp up to
|
||||||
|
# date, which avoids messages from some linkers.
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue