summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 06:32:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 06:32:36 +0000
commite9a08acf6fcf5683586855f803dc57867aa0b747 (patch)
tree2b6b103bcb45293472970a8d048db8840e42d475 /win32
parent84b8a2911b2e8b979287411246e36b6cdb1f9e41 (diff)
downloadruby-e9a08acf6fcf5683586855f803dc57867aa0b747.tar.gz
ruby-e9a08acf6fcf5683586855f803dc57867aa0b747.tar.xz
ruby-e9a08acf6fcf5683586855f803dc57867aa0b747.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/mkexports.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index cd88e968a..966b602f9 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 {