Skip to content

Commit

Permalink
* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Aug 7, 2003
1 parent 6f059f3 commit 430eabf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Thu Aug 7 14:40:37 2003 WATANABE Hirofumi <[email protected]>

* cygwin/GNUmakefile: better --disbale-shared option support.

* cygwin/GNUmakefile: add forwarding DLL target for cygwin.

Thu Aug 7 14:21:05 2003 Corinna Vinschen <[email protected]>

* configure.in: Fix Cygwin specific naming of libraries to
Expand Down
8 changes: 8 additions & 0 deletions cygwin/GNUmakefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ GNUmakefile: $(srcdir)/cygwin/GNUmakefile.in
ifeq (@target_os@,mingw32)
$(OBJS) $(MAINOBJ): win32/win32.h
endif

ifeq (@target_os@,cygwin)
cygwin-$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR).dll: $(LIBRUBY_A)
@NM@ --extern --defined $(LIBRUBY_A) | \
$(MINIRUBY) -ne 'BEGIN{puts "EXPORTS"}; puts $$1+"=cyg$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR)."+$$1 if / [CDT] _(.*)$$/' >rubydll.def
@DLLWRAP@ --driver-name=$(CC) -s --def=rubydll.def -o $@
@rm -f rubydll.def
endif

0 comments on commit 430eabf

Please sign in to comment.