From 0990e0e8fc74da50850f71e102804ffa1a7c2621 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Feb 2004 05:33:36 +0000 Subject: * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/extmk.rb') diff --git a/ext/extmk.rb b/ext/extmk.rb index 1aefcb8715..3e530e7316 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -247,7 +247,7 @@ MTIMES = [__FILE__, 'rbconfig.rb', srcdir+'/lib/mkmf.rb'].collect {|f| File.mtim # get static-link modules $static_ext = {} if $extstatic - $extstatic.split(/[\s,]+/).each do |target| + $extstatic.each do |target| target = target.downcase if /mswin32|bccwin32/ =~ RUBY_PLATFORM $static_ext[target] = $static_ext.size end -- cgit v1.2.3