aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 032afe9ca..f8a00ff3d 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -12,6 +12,7 @@ class Mysql <Formula
['--with-tests', "Keep tests when installing."],
['--with-bench', "Keep benchmark app when installing."],
['--client-only', "Only install client tools, not the server."],
+ ['--universal', "Make mysql a universal binary"]
]
end
@@ -27,6 +28,9 @@ class Mysql <Formula
ENV['CXXFLAGS'] = ENV['CXXFLAGS'].gsub "-fomit-frame-pointer", ""
ENV['CXXFLAGS'] += " -fno-omit-frame-pointer -felide-constructors"
+ # Make universal for bindings to universal applications
+ ENV.universal_binary if ARGV.include? '--universal'
+
configure_args = [
"--without-docs",
"--without-debug",