mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix infinite loop when out-of-place build
This commit is contained in:
parent
265a96b005
commit
60f12c7d2e
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ install-cross: $(arch)-fake.rb $(RBCONFIG) rbconfig.rb $(arch_hdrdir)/ruby/confi
|
|||
|
||||
Makefile: $(srcdir)/template/Makefile.in $(srcdir)/enc/Makefile.in
|
||||
|
||||
$(MKFILES): config.status $(srcdir)/version.h $(srcdir)/revision.h $(ABI_VERSION_HDR)
|
||||
$(MKFILES): config.status $(srcdir)/version.h $(REVISION_H) $(ABI_VERSION_HDR)
|
||||
@[ -f $@ ] && mv $@ $@.old
|
||||
MAKE=$(MAKE) $(SHELL) ./config.status $@
|
||||
@cmp $@ $@.old > /dev/null 2>&1 && echo $@ unchanged && exit 0; \
|
||||
|
|
Loading…
Reference in a new issue