audit: don't check formula linkage.

This partly reverts commit 0ed673abdb59e2f75f9b8539cce318607924e87f.
This commit is contained in:
Mike McQuaid 2016-07-28 16:42:14 -06:00
parent 12413cb760
commit 3469f177f0

View File

@ -70,17 +70,6 @@ module FormulaCellarChecks
#{checker.broken_dylibs.to_a * "\n "}
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.
Please add all linked dependencies to the formula with:
#{checker.undeclared_deps.map { |d| "depends_on \"#{d}\" => :linked"} * "\n "}
EOS
end
end
def audit_installed