diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/extmk.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Feb 22 14:33:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383] + Sun Feb 22 13:05:37 2004 akira yamada <akira@ruby-lang.org> * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment. 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 |