aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-05-07 11:05:53 -0700
committerCharlie Sharpsteen2012-05-07 12:01:36 -0700
commit54c72568a47f2827de3e89ba8368e683c71b06f1 (patch)
tree0ea0c3711b81b27fd35e2da56d6267581d9cfe73 /Library/Formula
parent8abdd41e0874d9763773515101240bde27275a14 (diff)
downloadhomebrew-54c72568a47f2827de3e89ba8368e683c71b06f1.tar.bz2
librasterlite: Use Homebrew SQLite
SpatiaLite requires Homebrew's version of SQLite so make sure that is the version RasterLite links against.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/librasterlite.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/librasterlite.rb b/Library/Formula/librasterlite.rb
index b05d69429..732807026 100644
--- a/Library/Formula/librasterlite.rb
+++ b/Library/Formula/librasterlite.rb
@@ -10,6 +10,8 @@ class Librasterlite < Formula
def install
ENV.x11 # For image format libraries
+ # Ensure Homebrew SQLite libraries are found before the system SQLite
+ ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"