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

ruby-changes:23305

From: nobu <ko1@a...>
Date: Tue, 17 Apr 2012 13:17:16 +0900 (JST)
Subject: [ruby-changes:23305] nobu:r35356 (trunk): * ext/-test-/win32/dln/extconf.rb: remove unnecessary local variable.

nobu	2012-04-17 13:17:05 +0900 (Tue, 17 Apr 2012)

  New Revision: 35356

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

  Log:
    * ext/-test-/win32/dln/extconf.rb: remove unnecessary local variable.

  Modified files:
    trunk/ext/-test-/win32/dln/extconf.rb

Index: ext/-test-/win32/dln/extconf.rb
===================================================================
--- ext/-test-/win32/dln/extconf.rb	(revision 35355)
+++ ext/-test-/win32/dln/extconf.rb	(revision 35356)
@@ -1,8 +1,7 @@
 if /mswin|mingw/ =~ RUBY_PLATFORM
   $objs = ["dlntest.o"]
 
-  target_prefix = "-test-/win32/"
-  create_makefile(target_prefix+"dln")
+  create_makefile("-test-/win32/dln")
   m = File.read("Makefile")
   m.sub!(/^OBJS =.*/) {$&+" dlntest.#{$LIBEXT}"}
   open("Makefile", "wb") do |mf|

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

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