FormulaInstaller: actually select unsatisfied requirements
Fixes Homebrew/homebrew#17422.
This commit is contained in:
parent
0dec35e7b0
commit
1a05e18fe9
@ -114,6 +114,8 @@ class FormulaInstaller
|
|||||||
f.recursive_dependencies.map(&:to_formula).any? do |dep|
|
f.recursive_dependencies.map(&:to_formula).any? do |dep|
|
||||||
dep.build.with?(req.name)
|
dep.build.with?(req.name)
|
||||||
end || f.build.with?(req.name)
|
end || f.build.with?(req.name)
|
||||||
|
else
|
||||||
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user