From 14693ba5492f5ed85bb9926e3bcf110341501448 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 19 Feb 2018 01:45:17 +0000 Subject: [PATCH] Escape MINIRUBY in --make-flags to extmk.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Hörberg git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/configure-ext.mk.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/configure-ext.mk.tmpl b/template/configure-ext.mk.tmpl index 4f0d31d700..438e109eba 100644 --- a/template/configure-ext.mk.tmpl +++ b/template/configure-ext.mk.tmpl @@ -24,7 +24,7 @@ end 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: