aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cxxstdlib.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-04-21 18:50:22 +0100
committerMike McQuaid2014-04-23 08:10:48 +0100
commit249aae177f3e6fb100c391c1f4562cc331c69d2e (patch)
tree2e9a6647b98bbb78d9161beba8e48d382f39abc5 /Library/Homebrew/cxxstdlib.rb
parent6cdc76452b34b8dfe6c7c99a077183bf2d65ebee (diff)
downloadbrew-249aae177f3e6fb100c391c1f4562cc331c69d2e.tar.bz2
formula: move cxxstdlib methods to the class.
This allows disabling this checks when e.g. pouring bottles.
Diffstat (limited to 'Library/Homebrew/cxxstdlib.rb')
-rw-r--r--Library/Homebrew/cxxstdlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb
index fba868277..1ae50c674 100644
--- a/Library/Homebrew/cxxstdlib.rb
+++ b/Library/Homebrew/cxxstdlib.rb
@@ -33,7 +33,7 @@ class CxxStdlib
end
def check_dependencies(formula, deps)
- unless formula.cxxstdlib.include? :skip
+ unless formula.class.cxxstdlib.include? :skip
deps.each do |dep|
# Software is unlikely to link against anything from its
# buildtime deps, so it doesn't matter at all if they link