aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 27786e77e..a0c091e7f 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -151,6 +151,8 @@ class FormulaInstaller
recursive_deps = formula.recursive_dependencies
recursive_formulae = recursive_deps.map(&:to_formula)
+ recursive_runtime_deps = formula.recursive_dependencies.reject(&:build?)
+ recursive_runtime_formulae = recursive_runtime_deps.map(&:to_formula)
recursive_dependencies = []
recursive_formulae.each do |dep|
@@ -176,7 +178,7 @@ class FormulaInstaller
version_hash = {}
version_conflicts = Set.new
- recursive_formulae.each do |f|
+ recursive_runtime_formulae.each do |f|
name = f.name
unversioned_name, = name.split("@")
version_hash[unversioned_name] ||= Set.new