diff options
| author | Eugene San (eugenesan) | 2014-08-23 16:38:38 +0300 |
|---|---|---|
| committer | Jack Nagel | 2014-08-23 10:22:16 -0500 |
| commit | 79dc162332b492801845d7a53191fb75710243de (patch) | |
| tree | 7802aa2da811fc78dd263441da20aff9e1efaa41 /Library/Formula | |
| parent | 025fe89e41e7a36ad68e405d5a1c5faa7fee70da (diff) | |
| download | homebrew-79dc162332b492801845d7a53191fb75710243de.tar.bz2 | |
sysbench: fix build without mysql in all cases
Closes #31824.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sysbench.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/sysbench.rb b/Library/Formula/sysbench.rb index 5b899158a..150bef323 100644 --- a/Library/Formula/sysbench.rb +++ b/Library/Formula/sysbench.rb @@ -16,7 +16,11 @@ class Sysbench < Formula system "./autogen.sh" args = ["--prefix=#{prefix}"] - args << "--with-mysql" if build.with? "mysql" + if build.with? "mysql" + args << "--with-mysql" + else + args << "--without-mysql" + end args << "--with-psql" if build.with? "postgresql" system "./configure", *args |
