formula_installer: don't install bottle deps for all bottles
This commit is contained in:
parent
2734fdbec6
commit
86b01acd97
@ -590,7 +590,9 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if pour_bottle && !Keg.bottle_dependencies.empty?
|
# We require some dependencies (glibc, GCC 5, etc.) if binaries were built.
|
||||||
|
# Native binaries shouldn't exist in cross-platform `all` bottles.
|
||||||
|
if pour_bottle && !formula.bottled?(:all) && !Keg.bottle_dependencies.empty?
|
||||||
bottle_deps = if Keg.bottle_dependencies.exclude?(formula.name)
|
bottle_deps = if Keg.bottle_dependencies.exclude?(formula.name)
|
||||||
Keg.bottle_dependencies
|
Keg.bottle_dependencies
|
||||||
elsif Keg.relocation_formulae.exclude?(formula.name)
|
elsif Keg.relocation_formulae.exclude?(formula.name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user