This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

freetds.rb: Enable support for building with --universal

Closes #21309.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
msabramo authored and adamv committed Jul 18, 2013
1 parent 370e2ac commit d73f44c314543ef7ee71e9eae10ac8a3bd3fbd68
Showing with 3 additions and 0 deletions.
  1. +3 −0 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 @@ def install
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

0 comments on commit d73f44c

Please sign in to comment.