diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/spatialite-tools.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/spatialite-tools.rb b/Library/Formula/spatialite-tools.rb index 77891cf6b..ecd6f128a 100644 --- a/Library/Formula/spatialite-tools.rb +++ b/Library/Formula/spatialite-tools.rb @@ -12,8 +12,10 @@ class SpatialiteTools < Formula def install # See: https://github.com/mxcl/homebrew/issues/3328 - ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" ENV.append 'LDFLAGS', '-liconv' + # Ensure Homebrew SQLite is found before system SQLite. + ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
