[前][次][番号順一覧][スレッド一覧]

ruby-changes:11172

From: nobu <ko1@a...>
Date: Thu, 5 Mar 2009 11:27:38 +0900 (JST)
Subject: [ruby-changes:11172] Ruby:r22777 (trunk): * win32/Makefile.sub (miniruby.exe): workaround for a failure of

nobu	2009-03-05 11:27:20 +0900 (Thu, 05 Mar 2009)

  New Revision: 22777

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22777

  Log:
    * win32/Makefile.sub (miniruby.exe): workaround for a failure of
      mt.exe on Windows 7 beta.  [ruby-talk:330284]

  Modified files:
    trunk/ChangeLog
    trunk/win32/Makefile.sub

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22776)
+++ ChangeLog	(revision 22777)
@@ -1,3 +1,8 @@
+Thu Mar  5 11:27:16 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* win32/Makefile.sub (miniruby.exe): workaround for a failure of
+	  mt.exe on Windows 7 beta.  [ruby-talk:330284]
+
 Thu Mar  5 10:32:17 2009  NARUSE, Yui  <naruse@r...>
 
 	* test/dl/test_base.rb: Add dragonfly to libc and libm switch.
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 22776)
+++ win32/Makefile.sub	(revision 22777)
@@ -267,7 +267,7 @@
 !if !defined(WINMAINOBJ)
 WINMAINOBJ    = winmain.$(OBJEXT)
 !endif
-ARCHMINIOBJS  = dmydln.$(OBJEXT)
+ARCHMINIOBJS  = dmydln.$(OBJEXT) miniruby.res
 LIBOBJS       = $(MISSING) $(LIBOBJS)
 
 !ifndef COMMON_LIBS
@@ -675,6 +675,9 @@
 		$(LDSHARED_1)
 		$(LDSHARED_2)
 
+miniruby.rc:
+		@exit > $@
+
 !if "$(PROGRAM)" != ""
 $(PROGRAM):	$(MAINOBJ) $(LIBRUBY_SO) $(RUBY_INSTALL_NAME).res
 		$(PURIFY) $(CC) $(MAINOBJ) $(RUBY_INSTALL_NAME).res \
@@ -725,7 +728,7 @@
 
 distclean-local::
 		@$(RM) ext\config.cache $(RBCONFIG:/=\) $(CONFIG_H:/=\)
-		@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
+		@$(RM) miniruby.rc $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
 		@-$(RM) $(INSTALLED_LIST:/=\) $(arch_hdrdir:/=\)\ruby\config.h
 		@-$(RMDIRS) $(arch_hdrdir:/=\)\ruby
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]