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

ruby-changes:30161

From: nobu <ko1@a...>
Date: Sun, 28 Jul 2013 20:11:03 +0900 (JST)
Subject: [ruby-changes:30161] nobu:r42213 (trunk): extmk.rb: static extensions

nobu	2013-07-28 20:10:52 +0900 (Sun, 28 Jul 2013)

  New Revision: 42213

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

  Log:
    extmk.rb: static extensions
    
    * ext/extmk.rb (extmake): should make static libraries for extensions
      to be statically linked.  [Bug #7948]

  Modified files:
    trunk/ChangeLog
    trunk/ext/extmk.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42212)
+++ ChangeLog	(revision 42213)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Jul 28 20:10:49 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* ext/extmk.rb (extmake): should make static libraries for extensions
+	  to be statically linked.  [Bug #7948]
+
 Sun Jul 28 17:38:32 2013  Masaki Matsushita  <glass.saga@g...>
 
 	* string.c: add internal API rb_str_locktmp_ensure().
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 42212)
+++ ext/extmk.rb	(revision 42213)
@@ -227,7 +227,7 @@ def extmake(target) https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L227
         f.rewind
         f.print(s)
         f.truncate(f.pos)
-      end
+      end unless $static
     else
       open(makefile, "wb") do |f|
         f.puts "# " + DUMMY_SIGNATURE

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

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