aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-06-05 14:07:45 +0100
committerMike McQuaid2015-06-10 15:25:28 +0100
commita631ae19836bbe130983bf7070bbb5858a8a44c6 (patch)
treed562f13f77eb77b7f64d6c81fb203848866cb19a /Library
parent215b0dbdc7c020fc5b19d520ec9c0c13dd9ebfad (diff)
downloadbrew-a631ae19836bbe130983bf7070bbb5858a8a44c6.tar.bz2
formula_installer: don't install runtime dependencies from bottles.
They haven't been linked against so we don't care. Closes Homebrew/homebrew#40410. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 569236f79..13a0cfc2b 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -239,6 +239,7 @@ class FormulaInstaller
def install_requirement_default_formula?(req, dependent, build)
return false unless req.default_formula?
return true unless req.satisfied?
+ return false if req.tags.include?(:run)
install_bottle_for?(dependent, build) || build_bottle?
end