summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:18:30 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-02 23:18:30 (GMT)
commit5ac71d9f9e4b413702e53b3c6464c1e249e298be (patch)
tree66de2937670853bca9fadcc801034f3d3635ae37 /cygwin
parentdc960b8729c195dab6e382d762c88cf904e8e0a2 (diff)
* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
* win32/mkexports.rb (Exports::Cygwin): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/GNUmakefile.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
index f044896..eb6967a 100644
--- a/cygwin/GNUmakefile.in
+++ b/cygwin/GNUmakefile.in
@@ -69,14 +69,8 @@ endif
$(LIBRUBY_SO): $(RUBYDEF)
-$(RUBYDEF): $(LIBRUBY_A) $(PREP) $(RBCONFIG) GNUmakefile
-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' > $@
-else
+$(RUBYDEF): $(LIBRUBY_A) $(PREP) $(RBCONFIG)
$(MINIRUBY) $(srcdir)/win32/mkexports.rb -output=$@ $(LIBRUBY_A)
-endif
clean-local::
@$(RM) $(RUBYDEF)