ruby-changes:50363
From: nobu <ko1@a...>
Date: Mon, 19 Feb 2018 10:45:22 +0900 (JST)
Subject: [ruby-changes:50363] nobu:r62479 (trunk): Escape MINIRUBY in --make-flags to extmk.rb
nobu 2018-02-19 10:45:17 +0900 (Mon, 19 Feb 2018) New Revision: 62479 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62479 Log: Escape MINIRUBY in --make-flags to extmk.rb If MINIRUBY had arguments, which is the case of cross compiling they wouldn't be parsed correctly and compiling would fail as a RUBY without arguments would then be present in the Makefile's in ext/* [ruby-core:85620] [Bug #14486] [Fix GH-1819] Author: Carl Ho?\204?\136rberg <carl.hoerberg@g...> Modified files: trunk/template/configure-ext.mk.tmpl Index: template/configure-ext.mk.tmpl =================================================================== --- template/configure-ext.mk.tmpl (revision 62478) +++ template/configure-ext.mk.tmpl (revision 62479) @@ -24,7 +24,7 @@ end https://github.com/ruby/ruby/blob/trunk/template/configure-ext.mk.tmpl#L24 MINIRUBY = <%=miniruby%> SCRIPT_ARGS = <%=script_args%> EXTMK_ARGS = $(SCRIPT_ARGS) --gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \ - --make-flags='MINIRUBY=$(MINIRUBY)' + --make-flags="MINIRUBY='$(MINIRUBY)'" all: exts gems exts: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/