mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 02:23:59 +02:00
merges r21888 from trunk into ruby_1_9_1.
* cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols which is not marked as T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d83f5c6ca
commit
c97cb65c4c
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue