diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-27 05:41:38 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-27 05:41:38 +0000 |
| commit | ef4b4aaa715d9ad76d3d59d16dc37d3fcadaacb8 (patch) | |
| tree | 69b226645215d2c14766c63747fbaa713ce0c69c /cygwin | |
| parent | d28366a8e65aac8c7f9054b3562468a15c2975b0 (diff) | |
| download | ruby-ef4b4aaa715d9ad76d3d59d16dc37d3fcadaacb8.tar.gz ruby-ef4b4aaa715d9ad76d3d59d16dc37d3fcadaacb8.tar.xz ruby-ef4b4aaa715d9ad76d3d59d16dc37d3fcadaacb8.zip | |
* 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/trunk@21795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cygwin')
| -rw-r--r-- | cygwin/GNUmakefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in index 1da2bfc8c..f12c46534 100644 --- a/cygwin/GNUmakefile.in +++ b/cygwin/GNUmakefile.in @@ -71,7 +71,7 @@ $(RUBYDEF): $(LIBRUBY_A) $(PREP) $(RBCONFIG) ifeq (@target_os@,cygwin) @NM@ --extern --defined $(LIBRUBY_A) | \ $(MINIRUBY) -n -e 'BEGIN{puts "VERSION $(MAJOR).$(MINOR)","EXPORTS"}' \ - -e 'puts $$1 if / [A-Z] _((?!Init_).*)$$/' > $@ + -e 'if / (?:(T)|[A-Z]) _((?!Init_).*)$$/; puts "#{$$2}#{" DATA" if $$1}"; end' > $@ else $(MINIRUBY) $(srcdir)/win32/mkexports.rb -output=$@ $(LIBRUBY_A) endif |
