ruby-changes:59038
From: Nobuyoshi <ko1@a...>
Date: Mon, 2 Dec 2019 14:16:27 +0900 (JST)
Subject: [ruby-changes:59038] 9afaf139f2 (master): Revert "builtin_binary.inc needs miniruby itself for RubyVM.each_builtin"
https://git.ruby-lang.org/ruby.git/commit/?id=9afaf139f2 From 9afaf139f232e8b2c697d33e984945464744def1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 2 Dec 2019 14:15:42 +0900 Subject: Revert "builtin_binary.inc needs miniruby itself for RubyVM.each_builtin" This reverts commit 2615030c521afc822c66a7e139ccba3d2365ab56, which doesn't work when cross compiling, except for mingw. diff --git a/common.mk b/common.mk index da3f47f..55f3411 100644 --- a/common.mk +++ b/common.mk @@ -1121,8 +1121,8 @@ preludes: {$(srcdir)}golf_prelude.c https://github.com/ruby/ruby/blob/trunk/common.mk#L1121 $(ECHO) making $@ $(Q) $(BASERUBY) $(srcdir)/tool/mk_builtin_loader.rb $< -builtin_binary.inc: miniruby$(EXEEXT) $(BUILTIN_RB_SRCS) $(srcdir)/tool/mk_builtin_binary.rb - $(Q) ./miniruby$(EXEEXT) $(srcdir)/tool/mk_builtin_binary.rb +builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/tool/mk_builtin_binary.rb + $(Q) $(MINIRUBY) $(srcdir)/tool/mk_builtin_binary.rb $(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/