aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-01-26 17:24:17 -0600
committerJack Nagel2013-01-26 17:24:17 -0600
commit74a4c8e97de05ed405c5f5fd6f840bdf332e2ccd (patch)
treefc2d0d56c42e6d4430f8c808a0e53ac834de723c /Library/Homebrew
parent807087937dc73ae1622f971bbb7c67e8510dd63d (diff)
downloadhomebrew-74a4c8e97de05ed405c5f5fd6f840bdf332e2ccd.tar.bz2
Don't force universal for build deps
Diffstat (limited to 'Library/Homebrew')
-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)