summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-27 05:46:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-27 05:46:10 +0000
commitbb4a1ac9b02a7fd35a5c6cbc107cded94371fd69 (patch)
treebea8a79de90d413e9690f5c5fe8bcf7ab47c104a /win32/Makefile.sub
parent07dcd43a0a2752f8403ddd08a321fc8d4baa5385 (diff)
expand-config.rb: expand config values
* tool/expand-config.rb: expand config values, extracted from win32/Makefile.sub. * win32/Makefile.sub (ruby_pc): use tool/expand-config.rb script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub6
1 files changed, 1 insertions, 5 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index a04e802..010bf4b 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -1053,11 +1053,7 @@ end
<<KEEP
$(ruby_pc): $(RBCONFIG)
- @$(MINIRUBY) -r./rbconfig -p \
- -e 'STDOUT.binmode' \
- -e '$$_.gsub!(/@([a-z_]\w*)@/i) {' \
- -e '(RbConfig::MAKEFILE_CONFIG[$$1] or "").gsub(/\$$\((.+?)\)/, %Q[$${\\1}])' \
- -e '}' \
+ @$(MINIRUBY) -r./rbconfig $(srcdir)/tool/expand-config.rb \
$(srcdir)/template/ruby.pc.in > $@
{$(srcdir)/enc}.c.obj: