From 2d03f7274f84ab5abf8825c8e0c339caa659c27a Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Jan 2009 06:32:36 +0000 Subject: * Makefile.in (miniruby): renames and then removes, to get rid of EPERM on cygwin and mingw. * Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy. * configure.in (DLDFLAGS): do not export all symbols. * cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with Init_. * win32/mkexports.rb (Exports::Mingw): includes all symbols except for prefixed with Init_ as well as mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/mkexports.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'win32/mkexports.rb') diff --git a/win32/mkexports.rb b/win32/mkexports.rb index cd88e968a5..966b602f97 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -143,15 +143,11 @@ class Exports::Mingw < Exports def each_export(objs) objdump(objs) do |l| - yield $1 if / [[:upper:]] _(.*)$/ =~ l + yield $1 if / [[:upper:]] _((?!Init_).*)$/ =~ l end yield "strcasecmp", "_stricmp" yield "strncasecmp", "_strnicmp" end - - def symbols() - @syms.select {|k, v| v}.sort.collect {|k, v| "#{k}=#{v}"} - end end END { -- cgit v1.2.3