aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cxxstdlib.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-01 21:57:30 -0500
committerJack Nagel2014-07-01 21:57:30 -0500
commit330e18bb171ebbe778e0909aa419940607c3da54 (patch)
tree12291c63314677c7583def0fec2f0c31272c6865 /Library/Homebrew/cxxstdlib.rb
parent177eee419a455c3fc759d6a75c392f30be50a4dc (diff)
downloadbrew-330e18bb171ebbe778e0909aa419940607c3da54.tar.bz2
Use predicate methods instead of inspecting the tags array
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 1ae50c674..7525f6ab9 100644
--- a/Library/Homebrew/cxxstdlib.rb
+++ b/Library/Homebrew/cxxstdlib.rb
@@ -38,7 +38,7 @@ class CxxStdlib
# Software is unlikely to link against anything from its
# buildtime deps, so it doesn't matter at all if they link
# against different C++ stdlibs
- next if dep.tags.include? :build
+ next if dep.build?
dep_stdlib = Tab.for_formula(dep.to_formula).cxxstdlib
if !compatible_with? dep_stdlib