summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:44 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-28 11:08:44 +0000
commit05392588e83e85b91549fad1fb00408497b8c019 (patch)
tree9547da7e3ae749bf6a74c8094d948c153aa33422 /win32
parentb82c3200a111ca4a5092b6e754ccc23467921323 (diff)
merges r21685 from trunk into ruby_1_9_1.
* 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/branches/ruby_1_9_1@21843 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 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 {