diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-19 01:45:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-19 01:45:17 +0000 |
commit | 14693ba5492f5ed85bb9926e3bcf110341501448 (patch) | |
tree | ae212acfa282ce8d689a9bcba41935d6cf199221 | |
parent | 3cadd10ac5c4a1741b3ade755a53cbe54a650588 (diff) |
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
-rw-r--r-- | template/configure-ext.mk.tmpl | 2 |
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: |