From 192a1843a2d729443429f1c2cffd64a46817327a Mon Sep 17 00:00:00 2001 From: "Eugene San (eugenesan)" Date: Sat, 23 Aug 2014 16:38:38 +0300 Subject: [PATCH] sysbench: fix build without mysql in all cases Closes Homebrew/homebrew#31824. Signed-off-by: Jack Nagel --- Formula/sysbench.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/sysbench.rb b/Formula/sysbench.rb index 5b899158a6b..150bef32366 100644 --- a/Formula/sysbench.rb +++ b/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