diff options
| author | Marc Abramowitz | 2013-07-18 09:33:42 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-18 14:11:02 -0700 |
| commit | d73f44c314543ef7ee71e9eae10ac8a3bd3fbd68 (patch) | |
| tree | 61aac77670f2723860f6b1cfb7a980aabe6871cf /Library/Formula/freetds.rb | |
| parent | 370e2ac06f20b352ab63ab4533bc41f190a1b1c0 (diff) | |
| download | homebrew-d73f44c314543ef7ee71e9eae10ac8a3bd3fbd68.tar.bz2 | |
freetds.rb: Enable support for building with --universal
Closes #21309.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/freetds.rb')
| -rw-r--r-- | Library/Formula/freetds.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
