1
0
Fork 0
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:
nobu 2015-07-10 01:22:55 +00:00
parent 3e972a116f
commit 54d9c77c8b

View file

@ -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}"