aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorTim D. Smith2016-09-04 16:28:51 -0700
committerGitHub2016-09-04 16:28:51 -0700
commita4b4b9cd9056190c17ffbfcf007a30dfdca2b0e6 (patch)
tree3d16870c94e038525bbb6a3166516b8f5ccf6c24 /Library/Homebrew/extend
parentbf18808930285e250fa2b8b24f37b077f0c00b45 (diff)
downloadbrew-a4b4b9cd9056190c17ffbfcf007a30dfdca2b0e6.tar.bz2
Catch LibreSSL libtls as well
Update the description to reflect that we may be talking about either crypto library and neither is okay. :)
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/os/mac/formula_cellar_checks.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
index 25452be06..b3f8250ee 100644
--- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
+++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb
@@ -29,13 +29,14 @@ module FormulaCellarChecks
keg = Keg.new(formula.prefix)
system_openssl = keg.mach_o_files.select do |obj|
dlls = obj.dynamically_linked_libraries
- dlls.any? { |dll| %r{/usr/lib/lib(crypto|ssl)\..*dylib}.match dll }
+ dlls.any? { |dll| %r{/usr/lib/lib(crypto|ssl|tls)\..*dylib}.match dll }
end
return if system_openssl.empty?
<<-EOS.undent
object files were linked against system openssl
- These object files were linked against the deprecated system OpenSSL.
+ These object files were linked against the deprecated system OpenSSL or
+ the system's private LibreSSL.
Adding `depends_on "openssl"` to the formula may help.
#{system_openssl * "\n "}
EOS