aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/build_options.rb')
-rw-r--r--Library/Homebrew/build_options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb
index 441a81bc2..6400b36ce 100644
--- a/Library/Homebrew/build_options.rb
+++ b/Library/Homebrew/build_options.rb
@@ -107,7 +107,7 @@ class BuildOptions
end
def has_opposite_of? option
- true if args.include? opposite_of option
+ @options.include? opposite_of(option)
end
def opposite_of option