Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

librasterlite: Use Homebrew SQLite

SpatiaLite requires Homebrew's version of SQLite so make sure that is the
version RasterLite links against.
  • Loading branch information...
commit 54c72568a47f2827de3e89ba8368e683c71b06f1 1 parent 8abdd41
@Sharpie Sharpie authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Library/Formula/librasterlite.rb
View
2  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"
Please sign in to comment.
Something went wrong with that request. Please try again.