diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 04:22:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-23 04:22:23 +0000 |
commit | 48d489030a9896e7d2b52f754b86403145a79975 (patch) | |
tree | 472573cd7596da5efe44f911aea0a5e36b5a6684 /common.mk | |
parent | f41b7517dcda9ecb397e82b6ba4dc9ff14a7944a (diff) | |
download | ruby-48d489030a9896e7d2b52f754b86403145a79975.tar.gz |
configure-ext.mk.tmpl: embed macros
* template/configure-ext.mk.tmpl: embed MINIRUBY and SCRIPT_ARGS
to get rid of quoting problems of nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -211,8 +211,7 @@ exts: build-ext EXTS_MK = exts.mk $(EXTS_MK): ext/configure-ext.mk $(TIMESTAMPDIR)/.$(arch).time $(srcdir)/template/exts.mk.tmpl - $(MAKE) -f ext/configure-ext.mk V=$(V) MINIRUBY="$(MINIRUBY)" \ - EXTSTATIC=$(EXTSTATIC) \ + $(MAKE) -f ext/configure-ext.mk V=$(V) EXTSTATIC=$(EXTSTATIC) \ gnumake=$(gnumake) EXTLDFLAGS="$(EXTLDFLAGS)" srcdir="$(srcdir)" $(ECHO) generating makefile $@ $(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \ @@ -222,7 +221,8 @@ ext/configure-ext.mk: $(PREP) all-incs $(MKFILES) $(RBCONFIG) $(LIBRUBY) $(ECHO) generating makefiles $@ $(Q)$(MAKEDIRS) ext $(Q)$(MINIRUBY) $(srcdir)/tool/generic_erb.rb -o $@ -c \ - $(srcdir)/template/$(@F).tmpl --srcdir="$(srcdir)" + $(srcdir)/template/$(@F).tmpl --srcdir="$(srcdir)" \ + --miniruby="$(MINIRUBY)" --script-args='$(SCRIPT_ARGS)' configure-ext: $(EXTS_MK) |