aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 2e67fa5ee..d0a38994c 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -359,11 +359,12 @@ class FormulaInstaller
def install_dependency(dep, inherited_options)
df = dep.to_formula
+ tab = Tab.for_formula(df)
outdated_keg = Keg.new(df.linked_keg.realpath) if df.linked_keg.directory?
fi = DependencyInstaller.new(df)
- fi.options |= Tab.for_formula(df).used_options
+ fi.options |= tab.used_options
fi.options |= dep.options
fi.options |= inherited_options
fi.build_from_source = build_from_source?