mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
freetds.rb: Enable support for building with --universal
Closes #21309. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
370e2ac06f
commit
d73f44c314
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user