diff --git a/ChangeLog b/ChangeLog index 670874d378..03dbe8c9b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 30 12:57:28 2009 Nobuyoshi Nakada + + * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols + which is not marked as T. + Fri Jan 30 11:03:31 2009 Nobuyoshi Nakada * lib/test/unit/assertions.rb (assert_respond_to): gets rid of diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in index f12c46534c..c40e1285a0 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 'if / (?:(T)|[A-Z]) _((?!Init_).*)$$/; puts "#{$$2}#{" DATA" if $$1}"; end' > $@ + -e 'if / (?:(T)|[A-Z]) _((?!Init_).*)$$/; puts "#{$$2}#{" DATA" if !$$1}"; end' > $@ else $(MINIRUBY) $(srcdir)/win32/mkexports.rb -output=$@ $(LIBRUBY_A) endif