diff options
| -rw-r--r-- | Library/Formula/mysql.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 1dad913b9..705dfbe4d 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -14,7 +14,8 @@ class Mysql < Formula [ ['--with-tests', "Build with unit tests."], ['--with-embedded', "Build the embedded server."], - ['--universal', "Make mysql a universal binary"] + ['--universal', "Make mysql a universal binary"], + ['--enable-local-infile', "Build with local infile loading support"] ] end @@ -40,6 +41,9 @@ class Mysql < Formula # Make universal for bindings to universal applications args << "-DCMAKE_OSX_ARCHITECTURES='ppc;i386'" if ARGV.include? '--universal' + # Build with local infile loading support + args << "-DENABLED_LOCAL_INFILE=1" if ARGV.include? '--enable-local-infile' + system "cmake", *args system "make" system "make install" |
