diff options
| -rw-r--r-- | Library/Formula/ledger.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ledger.rb b/Library/Formula/ledger.rb index b28cbcb41..9ac2145d0 100644 --- a/Library/Formula/ledger.rb +++ b/Library/Formula/ledger.rb @@ -42,7 +42,7 @@ class Ledger < Formula if build.with? 'libofx' args << "--enable-ofx" # the libofx.h appears to have moved to a subdirectory - ENV.append 'CXXFLAGS', "-I#{Formula.factory('libofx').opt_prefix}/include/libofx" + ENV.append 'CXXFLAGS', "-I#{Formula["libofx"].opt_prefix}/include/libofx" end system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", *args |
