Skip to content

Commit e84933b

Browse files
ctrochalakissodabrew
authored andcommitted
Also search for mariadb_config on compile
libmariadb-client-lgpl-dev in newly released Debian stable (jessie) ships `/usr/bin/mariadb_config`.
1 parent 2ce804d commit e84933b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def asplode lib
3636
/usr/local/lib/mysql5*
3737
].map{|dir| "#{dir}/bin" }
3838

39-
GLOB = "{#{dirs.join(',')}}/{mysql_config,mysql_config5}"
39+
GLOB = "{#{dirs.join(',')}}/{mysql_config,mysql_config5,mariadb_config}"
4040

4141
# If the user has provided a --with-mysql-dir argument, we must respect it or fail.
4242
inc, lib = dir_config('mysql')

0 commit comments

Comments
 (0)