mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3e972a116f
commit
54d9c77c8b
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ def extmake(target)
|
|||
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}"
|
||||
|
|
Loading…
Reference in a new issue