mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6f059f33ef
commit
430eabfe13
2 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,8 @@ Thu Aug 7 14:40:37 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
|||
|
||||
* cygwin/GNUmakefile: better --disbale-shared option support.
|
||||
|
||||
* cygwin/GNUmakefile: add forwarding DLL target for cygwin.
|
||||
|
||||
Thu Aug 7 14:21:05 2003 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* configure.in: Fix Cygwin specific naming of libraries to
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue