aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/librasterlite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/librasterlite.rb')
-rw-r--r--Library/Formula/librasterlite.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/librasterlite.rb b/Library/Formula/librasterlite.rb
index 7ba176b78..314c29893 100644
--- a/Library/Formula/librasterlite.rb
+++ b/Library/Formula/librasterlite.rb
@@ -12,7 +12,8 @@ class Librasterlite < Formula
def install
# Ensure Homebrew SQLite libraries are found before the system SQLite
- ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
+ sqlite = Formula.factory 'sqlite'
+ ENV.append 'LDFLAGS', "-L#{sqlite.opt_prefix}/lib"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"