summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-31 06:34:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-31 06:34:35 +0000
commitf0c310c6091bb84606f43df5ac301d2da1083e31 (patch)
treefd9aab7674591a18baa4e0edfa71dfc6374cc6be /tool/mkconfig.rb
parentd6c7ab9ffeff31fb5a49776ab74a61b478344107 (diff)
mkconfig.rb: pass version numbers
* tool/mkconfig.rb (RbConfig): version numbers are also needed by RUBY_SO_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index e68b288..d108a51 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -75,7 +75,7 @@ File.foreach "config.status" do |line|
case name
when /^(?:ac_.*|configure_input|(?:top_)?srcdir|\w+OBJS)$/; next
when /^(?:X|(?:MINI|RUN|BASE)RUBY$)/; next
- when /^(?:MAJOR|MINOR|TEENY)$/; next
+ when /^(?:MAJOR|MINOR|TEENY)$/; vars[name] = val; next
when /^LIBRUBY_D?LD/; next
when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name
when /^RUBY_SO_NAME$/; next vars[name] = (so_name = val).dup if $so_name