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

ruby-changes:33954

From: nobu <ko1@a...>
Date: Wed, 21 May 2014 13:46:06 +0900 (JST)
Subject: [ruby-changes:33954] nobu:r46035 (trunk): extmk.rb: non-installed extensions cannot link statically

nobu	2014-05-21 13:46:00 +0900 (Wed, 21 May 2014)

  New Revision: 46035

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

  Log:
    extmk.rb: non-installed extensions cannot link statically
    
    * ext/extmk.rb: exclude extension libraries not to be installed
      unless shared library is built, as they cannot be linked
      statically.

  Modified files:
    trunk/ext/extmk.rb
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 46034)
+++ ext/extmk.rb	(revision 46035)
@@ -519,6 +519,9 @@ cond = proc {|ext, *| https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L519
   }.find_all {|ext|
     with_config(ext, &cond)
   }.sort
+  if $LIBRUBYARG_SHARED.empty?
+    exts.delete_if {|d| File.fnmatch?("-*", d)}
+  end
 end
 
 if $extout

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

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