summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
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 a04e8024be..010bf4b630 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: