summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-06 16:44:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-06 16:46:05 +0900
commit0c00a4176ba353d59d8c991428574ef2c2676674 (patch)
tree2967c1951660e0c93c8fa5f64405d3ceb7a4ab43 /template
parentba6f1bcce920004d913a517fb23f9c87f62a2f2f (diff)
Hash marks in Makefile need to be escaped [Bug #16935]
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 438e109eba..489f6e2a92 100644
--- a/template/configure-ext.mk.tmpl
+++ b/template/configure-ext.mk.tmpl
@@ -22,7 +22,7 @@ exts = {}
end
%>
MINIRUBY = <%=miniruby%>
-SCRIPT_ARGS = <%=script_args%>
+SCRIPT_ARGS = <%=script_args.gsub("#", "\\#")%>
EXTMK_ARGS = $(SCRIPT_ARGS) --gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \
--make-flags="MINIRUBY='$(MINIRUBY)'"