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

ruby-changes:45368

From: nobu <ko1@a...>
Date: Fri, 27 Jan 2017 17:05:11 +0900 (JST)
Subject: [ruby-changes:45368] nobu:r57441 (trunk): extmk.rb: fix for static-linked-ext

nobu	2017-01-27 17:05:06 +0900 (Fri, 27 Jan 2017)

  New Revision: 57441

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

  Log:
    extmk.rb: fix for static-linked-ext
    
    * ext/extmk.rb (extmake): fix up r57424 for static-linked-ext.
      separate maybestatic argument from basedir which is given always
      now.

  Modified files:
    trunk/ext/extmk.rb
Index: ext/extmk.rb
===================================================================
--- ext/extmk.rb	(revision 57440)
+++ ext/extmk.rb	(revision 57441)
@@ -130,7 +130,7 @@ def extract_makefile(makefile, keep = tr https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L130
   true
 end
 
-def extmake(target, basedir = (maybestatic = 'ext'))
+def extmake(target, basedir = 'ext', maybestatic = true)
   unless $configure_only || verbose?
     print "#{$message} #{target}\n"
     $stdout.flush
@@ -590,7 +590,7 @@ exts.each do |d| https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L590
   $static = $force_static ? true : $static_ext[d]
 
   if $ignore or !$nodynamic or $static
-    result = extmake(d, ext_prefix) or abort
+    result = extmake(d, ext_prefix, !@gemname) or abort
     extso |= $extso
     fails << result unless result == true
   end

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

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