mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix rubyspec-capiext dependency
Not to build the rubyspec-capiext extension libraries again on the next build after the build all extensions get built, ensure these extensions are up to date when recursively building from exts.mk.
This commit is contained in:
parent
7f87ad9fc4
commit
3169c15863
1 changed files with 3 additions and 1 deletions
|
@ -513,10 +513,12 @@ ifneq ($(POSTLINK),)
|
|||
endif
|
||||
$(Q) $(RMALL) $@.*
|
||||
|
||||
rubyspec-capiext: $(patsubst %.c,$(RUBYSPEC_CAPIEXT)/%.$(DLEXT),$(notdir $(wildcard $(srcdir)/$(RUBYSPEC_CAPIEXT)/*.c)))
|
||||
RUBYSPEC_CAPIEXT_SO := $(patsubst %.c,$(RUBYSPEC_CAPIEXT)/%.$(DLEXT),$(notdir $(wildcard $(srcdir)/$(RUBYSPEC_CAPIEXT)/*.c)))
|
||||
rubyspec-capiext: $(RUBYSPEC_CAPIEXT_SO)
|
||||
@ $(NULLCMD)
|
||||
|
||||
ifeq ($(ENABLE_SHARED),yes)
|
||||
ruby: $(if $(LIBRUBY_SO_UPDATE),$(RUBYSPEC_CAPIEXT_SO))
|
||||
exts: rubyspec-capiext
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue