Skip to content

Commit e30a3e0

Browse files
tmtmsodabrew
authored andcommitted
Fix with --with-mysql-dir (#952)
1 parent ed9aa84 commit e30a3e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/mysql2/extconf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def add_ssl_defines(header)
6363
abort "-----\nCannot find library dir(s) #{lib}\n-----" unless lib && lib.split(File::PATH_SEPARATOR).any? { |dir| File.directory?(dir) }
6464
warn "-----\nUsing --with-mysql-dir=#{File.dirname inc}\n-----"
6565
rpath_dir = lib
66+
have_library('mysqlclient')
6667
elsif (mc = (with_config('mysql-config') || Dir[GLOB].first))
6768
# If the user has provided a --with-mysql-config argument, we must respect it or fail.
6869
# If the user gave --with-mysql-config with no argument means we should try to find it.

0 commit comments

Comments
 (0)