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

ruby-changes:43992

From: nobu <ko1@a...>
Date: Sun, 4 Sep 2016 13:57:03 +0900 (JST)
Subject: [ruby-changes:43992] nobu:r56065 (trunk): extmk.rb: expand target_prefix

nobu	2016-09-04 13:56:56 +0900 (Sun, 04 Sep 2016)

  New Revision: 56065

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56065

  Log:
    extmk.rb: expand target_prefix
    
    * ext/extmk.rb (timestamp_file): should expand target_prefix in
      timestamp file name.

  Modified files:
    trunk/ext/extmk.rb
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 56064)
+++ ext/extmk.rb	(revision 56065)
@@ -576,7 +576,7 @@ Dir.chdir('gems') https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L576
 extout = $extout
 unless gems.empty?
   def self.timestamp_file(name, target_prefix = nil)
-    name = "$(arch)/gems/#{@gemname}$(target_prefix)" if name == '$(TARGET_SO_DIR)'
+    name = "$(arch)/gems/#{@gemname}#{target_prefix}" if name == '$(TARGET_SO_DIR)'
     super
   end
 

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

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