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 05bbe75 commit e2503dcCopy full SHA for e2503dc
ext/mysql2/extconf.rb
@@ -21,6 +21,9 @@ def add_ssl_defines(header)
21
$CFLAGS << ' -DNO_SSL_MODE_SUPPORT' if has_no_support
22
end
23
24
+# Homebrew openssl
25
+$LDFLAGS << ' -L/usr/local/opt/openssl/lib' if RUBY_PLATFORM =~ /darwin/
26
+
27
# 2.1+
28
have_func('rb_absint_size')
29
have_func('rb_absint_singlebit_p')
@@ -42,6 +45,9 @@ def add_ssl_defines(header)
42
45
/usr/local/mysql-*
43
46
/usr/local/lib/mysql5*
44
47
/usr/local/opt/mysql5*
48
+ /usr/local/opt/mysql@*
49
+ /usr/local/opt/mysql-client
50
+ /usr/local/opt/mysql-client@*
51
].map { |dir| dir << '/bin' }
52
53
# For those without HOMEBREW_ROOT in PATH
0 commit comments