diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/formula_cellar_checks.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb index dd21559e2..ac07ec19d 100644 --- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb +++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb @@ -71,6 +71,9 @@ module FormulaCellarChecks EOS end + # only check undeclared deps for standard installations. + return unless formula.build.used_options.empty? + if checker.undeclared_deps? audit_check_output <<-EOS.undent Formulae are required to declare all linked dependencies. |
