We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2583661 commit f0c5d11Copy full SHA for f0c5d11
ext/mysql2/extconf.rb
@@ -63,7 +63,12 @@ def add_ssl_defines(header)
63
# Homebrew OpenSSL on MacOS
64
elsif RUBY_PLATFORM =~ /darwin/ && system('command -v brew')
65
openssl_location = `brew --prefix openssl`.strip
66
- $LDFLAGS << " -L#{openssl_location}/lib" if openssl_location
+ $LIBPATH << "#{openssl_location}/lib" unless openssl_location.empty?
67
+end
68
+
69
+if RUBY_PLATFORM =~ /darwin/ && system('command -v brew')
70
+ zstd_location = `brew --prefix zstd`.strip
71
+ $LIBPATH << "#{zstd_location}/lib" unless zstd_location.empty?
72
end
73
74
### Find MySQL client library
0 commit comments