sqliteodbc: fix finding unixodbc.
When HOMEBREW_PREFIX is not /usr/local. Closes Homebrew/homebrew#49877. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
8893cb36d2
commit
4fb08689c3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Sqliteodbc < Formula
|
|||
|
||||
def install
|
||||
lib.mkdir
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "./configure", "--prefix=#{prefix}", "--with-odbc=#{Formula["unixodbc"].opt_prefix}"
|
||||
system "make"
|
||||
system "make", "install"
|
||||
lib.install_symlink "#{lib}/libsqlite3odbc.dylib" => "libsqlite3odbc.so"
|
||||
|
|
Loading…
Reference in a new issue