libofx: fix detection of OpenSP
If homebrew is not installed in /usr/local, libofx would not find open-sp. Fix it by explicitly setting open-sp include and lib directories. Closes #31549. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
cd413aeb0c
commit
f305a8cc94
1 changed files with 3 additions and 0 deletions
|
@ -14,7 +14,10 @@ class Libofx < Formula
|
|||
depends_on "open-sp"
|
||||
|
||||
def install
|
||||
opensp = Formula["open-sp"]
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--with-opensp-includes=#{opensp.opt_include}/OpenSP",
|
||||
"--with-opensp-libs=#{opensp.opt_lib}",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue