Skip to content

Commit 0ee177c

Browse files
committed
Search more paths for MySQL installations in the 5.x series
1 parent f054424 commit 0ee177c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysql2/extconf.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ def asplode lib
2020
/opt
2121
/opt/local
2222
/opt/local/mysql
23-
/opt/local/lib/mysql5
23+
/opt/local/lib/mysql5*
2424
/usr
2525
/usr/mysql
2626
/usr/local
2727
/usr/local/mysql
2828
/usr/local/mysql-*
29-
/usr/local/lib/mysql5
29+
/usr/local/lib/mysql5*
3030
].map{|dir| "#{dir}/bin" }
3131

3232
GLOB = "{#{dirs.join(',')}}/{mysql_config,mysql_config5}"

0 commit comments

Comments
 (0)