aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBraden2013-03-06 16:09:06 -0800
committerJack Nagel2013-03-08 00:17:26 -0600
commitc1b4011dac711736dc3cd65f3494d3fcfed47d4e (patch)
treef5d252688aefe0db3685d3d1ca1b174e049c89a5 /Library/Formula
parent4101c93fff51e4bdcdbfbdce7f13fce20d615ee6 (diff)
downloadhomebrew-c1b4011dac711736dc3cd65f3494d3fcfed47d4e.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gdal.rb1
1 files changed, 1 insertions, 0 deletions
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