From c1b4011dac711736dc3cd65f3494d3fcfed47d4e Mon Sep 17 00:00:00 2001 From: Braden Date: Wed, 6 Mar 2013 16:09:06 -0800 Subject: gdal: link proj4 statically Under normal circumstances, gdal loads libproj at runtime using dlopen(), but this fails when installed in non-standard locations. Link statically instead, which is what most other package managers seem to be doing anyway. Closes #18294. Signed-off-by: Jack Nagel --- Library/Formula/gdal.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library/Formula') diff --git a/Library/Formula/gdal.rb b/Library/Formula/gdal.rb index 813050c3b..c76ba9c3c 100644 --- a/Library/Formula/gdal.rb +++ b/Library/Formula/gdal.rb @@ -121,6 +121,7 @@ class Gdal < Formula "--with-freexl=#{HOMEBREW_PREFIX}", "--with-spatialite=#{HOMEBREW_PREFIX}", "--with-geos=#{HOMEBREW_PREFIX}/bin/geos-config", + "--with-static-proj4=#{HOMEBREW_PREFIX}", # GRASS backend explicitly disabled. Creates a chicken-and-egg problem. # Should be installed separately after GRASS installation using the -- cgit v1.2.3