diff --git a/Formula/librasterlite.rb b/Formula/librasterlite.rb index 50ced11b10..fe8975d2b7 100644 --- a/Formula/librasterlite.rb +++ b/Formula/librasterlite.rb @@ -12,7 +12,7 @@ class Librasterlite < Formula def install # Ensure Homebrew SQLite libraries are found before the system SQLite - sqlite = Formula.factory 'sqlite' + sqlite = Formula["sqlite"] ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"