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

ruby-changes:43981

From: nobu <ko1@a...>
Date: Thu, 1 Sep 2016 14:54:31 +0900 (JST)
Subject: [ruby-changes:43981] nobu:r56054 (trunk): mkmf.rb: fix up r56053

nobu	2016-09-01 14:54:25 +0900 (Thu, 01 Sep 2016)

  New Revision: 56054

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

  Log:
    mkmf.rb: fix up r56053
    
    * lib/mkmf.rb (timestamp_file): TARGET_SO_DIR is defaulted to
      RUBYARCHDIR but different for each extension libraries.

  Modified files:
    trunk/lib/mkmf.rb
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 56053)
+++ lib/mkmf.rb	(revision 56054)
@@ -2019,7 +2019,7 @@ preload = #{defined?($preload) && $prelo https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2019
   end
 
   def timestamp_file(name, target_prefix = nil)
-    pat = {}
+    pat = {'TARGET_SO_DIR'=>'$(RUBYARCHDIR)'}
     install_dirs.each do |n, d|
       pat[n] = $` if /\$\(target_prefix\)\z/ =~ d
     end

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

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