From d244eba30b0b2c9cc3423aaf45b3563457ec2c9e Mon Sep 17 00:00:00 2001 From: yugui Date: Wed, 28 Jan 2009 11:09:01 +0000 Subject: merges r21795 from trunk into ruby_1_9_1. * cygwin/GNUmakefile.in (RUBYDEF): needs DATA marks to export non-function symbols. [ruby-core:21582] * win32/mkexports.rb (Exports::Mingw#each_export): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/mkexports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 966b602f9..4d7eeb57e 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -143,7 +143,7 @@ class Exports::Mingw < Exports def each_export(objs) objdump(objs) do |l| - yield $1 if / [[:upper:]] _((?!Init_).*)$/ =~ l + yield $2, !$1 if /\s(?:(T)|[[:upper:]])\s_((?!Init_).*)$/ =~ l end yield "strcasecmp", "_stricmp" yield "strncasecmp", "_strnicmp" -- cgit