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 161111132..b934e2a86 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -139,7 +139,9 @@ class FormulaInstaller
Dependency.prune if pour_bottle?
end
- dep.universal! if f.build.universal?
+ if f.build.universal?
+ dep.universal! unless dep.build?
+ end
dep_f = dep.to_formula
dep_tab = Tab.for_formula(dep)