ruby-changes:39124
From: nobu <ko1@a...>
Date: Fri, 10 Jul 2015 10:23:23 +0900 (JST)
Subject: [ruby-changes:39124] nobu:r51205 (trunk): extmk.rb: silently skip never-installed extensions
nobu 2015-07-10 10:22:55 +0900 (Fri, 10 Jul 2015) New Revision: 51205 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51205 Log: extmk.rb: silently skip never-installed extensions * ext/extmk.rb (extmake): as extension libraries start with '-' are not installed always, no problems if no errors occurred. Modified files: trunk/ext/extmk.rb Index: ext/extmk.rb =================================================================== --- ext/extmk.rb (revision 51204) +++ ext/extmk.rb (revision 51205) @@ -257,6 +257,8 @@ def extmake(target) https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L257 f.print(*dummy_makefile(CONFIG["srcdir"])) end + return true if !error and target.start_with?("-") + mess = "Failed to configure #{target}. It will not be installed.\n" if error mess = "#{error}\n#{mess}" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/