diff --git a/Formula/libofx.rb b/Formula/libofx.rb index 172a9a93e2..c190327ac7 100644 --- a/Formula/libofx.rb +++ b/Formula/libofx.rb @@ -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