Embedded server option in mysql formula.
New option in mysql formula which commands to build embedded server static library (libmysqld.a) needed by various software (e.g. Amarok). Closes Homebrew/homebrew#4008. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>master
parent
d20052dc51
commit
aba69eea0b
|
@ -11,6 +11,7 @@ class Mysql <Formula
|
|||
[
|
||||
['--with-tests', "Keep tests when installing."],
|
||||
['--with-bench', "Keep benchmark app when installing."],
|
||||
['--with-embedded', "Build the embedded server."],
|
||||
['--client-only', "Only install client tools, not the server."],
|
||||
['--universal', "Make mysql a universal binary"]
|
||||
]
|
||||
|
@ -49,6 +50,7 @@ class Mysql <Formula
|
|||
"--with-partition"]
|
||||
|
||||
configure_args << "--without-server" if ARGV.include? '--client-only'
|
||||
configure_args << "--with-embedded-server" if ARGV.include? '--with-embedded'
|
||||
|
||||
system "./configure", *configure_args
|
||||
system "make install"
|
||||
|
|
Loading…
Reference in New Issue