aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-19 01:45:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-19 01:45:17 +0000
commit14693ba5492f5ed85bb9926e3bcf110341501448 (patch)
treeae212acfa282ce8d689a9bcba41935d6cf199221 /template
parent3cadd10ac5c4a1741b3ade755a53cbe54a650588 (diff)
downloadruby-14693ba5492f5ed85bb9926e3bcf110341501448.tar.gz
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Ģˆrberg <carl.hoerberg@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/configure-ext.mk.tmpl2
1 files changed, 1 insertions, 1 deletions
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: