diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-06 16:44:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-06 16:46:05 +0900 |
commit | 0c00a4176ba353d59d8c991428574ef2c2676674 (patch) | |
tree | 2967c1951660e0c93c8fa5f64405d3ceb7a4ab43 /template | |
parent | ba6f1bcce920004d913a517fb23f9c87f62a2f2f (diff) | |
download | ruby-0c00a4176ba353d59d8c991428574ef2c2676674.tar.gz |
Hash marks in Makefile need to be escaped [Bug #16935]
Diffstat (limited to 'template')
-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 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)'" |