freetds: add flag for Kerberos support
Closes Homebrew/homebrew#28970. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
95e57203e8
commit
15f6c6196f
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,7 @@ class Freetds < Formula
|
|||
option "enable-msdblib", "Enable Microsoft behavior in the DB-Library API where it diverges from Sybase's"
|
||||
option "enable-sybase-compat", "Enable close compatibility with Sybase's ABI, at the expense of other features"
|
||||
option "enable-odbc-wide", "Enable odbc wide, prevent unicode - MemoryError's"
|
||||
option "enable-krb", "Enable Kerberos support"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "unixodbc" => :optional
|
||||
|
@ -48,6 +49,10 @@ class Freetds < Formula
|
|||
args << "--enable-odbc-wide"
|
||||
end
|
||||
|
||||
if build.include? "enable-krb"
|
||||
args << "--enable-krb5"
|
||||
end
|
||||
|
||||
ENV.universal_binary if build.universal?
|
||||
system "./configure", *args
|
||||
system 'make'
|
||||
|
|
Loading…
Reference in a new issue