From d73f44c314543ef7ee71e9eae10ac8a3bd3fbd68 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 18 Jul 2013 09:33:42 -0700 Subject: freetds.rb: Enable support for building with --universal Closes #21309. Signed-off-by: Adam Vandenberg --- Library/Formula/freetds.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/freetds.rb b/Library/Formula/freetds.rb index c2b9d4d1d..631e78a2b 100644 --- a/Library/Formula/freetds.rb +++ b/Library/Formula/freetds.rb @@ -15,6 +15,8 @@ class Freetds < Formula depends_on :libtool end + option :universal + def install system "autoreconf -i" if build.head? @@ -28,6 +30,7 @@ class Freetds < Formula args << "--with-unixodbc=#{Formula.factory('unixodbc').prefix}" end + ENV.universal_binary if build.universal? system "./configure", *args system 'make' ENV.j1 # Or fails to install on multi-core machines -- cgit v1.2.3