MySQL: add debug option
Closes Homebrew/homebrew#14648. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
6d55648ce2
commit
8cfea71f78
|
@ -22,6 +22,7 @@ class Mysql < Formula
|
|||
option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
|
||||
option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
|
||||
option 'enable-local-infile', 'Build with local infile loading support'
|
||||
option 'with-debug', 'Build with debug support'
|
||||
|
||||
conflicts_with 'mariadb',
|
||||
:because => "mysql and mariadb install the same binaries."
|
||||
|
@ -81,6 +82,9 @@ class Mysql < Formula
|
|||
# Build with local infile loading support
|
||||
args << "-DENABLED_LOCAL_INFILE=1" if build.include? 'enable-local-infile'
|
||||
|
||||
# Build with debug support
|
||||
args << "-DWITH_DEBUG=1" if build.include? 'with-debug'
|
||||
|
||||
system "cmake", *args
|
||||
system "make"
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in New Issue