Skip to content

Commit

Permalink
Revert "Improve Homebrew compatibility (brianmario#1135)"
Browse files Browse the repository at this point in the history
This reverts commit e2503dc.
  • Loading branch information
junaruga committed Feb 12, 2021
1 parent 4de3aad commit 3314a1a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ext/mysql2/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ def add_ssl_defines(header)
$CFLAGS << ' -DNO_SSL_MODE_SUPPORT' if has_no_support
end

# Homebrew openssl
$LDFLAGS << ' -L/usr/local/opt/openssl/lib' if RUBY_PLATFORM =~ /darwin/

# 2.1+
have_func('rb_absint_size')
have_func('rb_absint_singlebit_p')
Expand All @@ -45,9 +42,6 @@ def add_ssl_defines(header)
/usr/local/mysql-*
/usr/local/lib/mysql5*
/usr/local/opt/mysql5*
/usr/local/opt/mysql@*
/usr/local/opt/mysql-client
/usr/local/opt/mysql-client@*
].map { |dir| dir << '/bin' }

# For those without HOMEBREW_ROOT in PATH
Expand Down

0 comments on commit 3314a1a

Please sign in to comment.