Sphix: check for mysql_config

Check for mysql_config instead of mysql so that mysql-connector-c
will be picked up too.
master
Adam Vandenberg 2012-04-14 09:40:56 -07:00
parent 7d44bcb19d
commit b73b6d0ad4
1 changed files with 1 additions and 1 deletions

View File

@ -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"