Sphix: check for mysql_config
Check for mysql_config instead of mysql so that mysql-connector-c will be picked up too.master
parent
7d44bcb19d
commit
b73b6d0ad4
|
@ -46,7 +46,7 @@ class Sphinx < Formula
|
|||
|
||||
# configure script won't auto-select PostgreSQL
|
||||
args << "--with-pgsql" if which 'pg_config'
|
||||
args << "--without-mysql" unless which 'mysql'
|
||||
args << "--without-mysql" unless which 'mysql_config'
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in New Issue