From 06ba0843843e99e89c339b11cfdaac781d3c8214 Mon Sep 17 00:00:00 2001 From: Martin Lambers Date: Tue, 3 Dec 2013 10:26:55 +0100 Subject: gdal: build with static proj. This fixes the following runtime error for applications that use projection functionality: ERROR 6: Unable to load PROJ.4 library (libproj-0.dll), creation of OGRCoordinateTransformation failed. --- src/gdal.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gdal.mk b/src/gdal.mk index a91a712..f14cf82 100644 --- a/src/gdal.mk +++ b/src/gdal.mk @@ -9,7 +9,7 @@ $(PKG)_SUBDIR := gdal-$($(PKG)_VERSION) $(PKG)_FILE := gdal-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/gdal/CURRENT/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/gdal/CURRENT/$($(PKG)_FILE) -$(PKG)_DEPS := gcc zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta hdf4 hdf5 netcdf +$(PKG)_DEPS := gcc proj zlib libpng tiff libgeotiff jpeg jasper giflib expat sqlite curl geos postgresql gta hdf4 hdf5 netcdf define $(PKG)_UPDATE $(WGET) -q -O- 'http://trac.osgeo.org/gdal/wiki/DownloadSource' | \ @@ -31,6 +31,7 @@ define $(PKG)_CONFIGURE --with-vfk \ --with-pam \ --without-threads \ + --with-static-proj4 \ --with-libz='$(PREFIX)/$(TARGET)' \ --with-png='$(PREFIX)/$(TARGET)' \ --with-libtiff='$(PREFIX)/$(TARGET)' \ @@ -46,7 +47,6 @@ define $(PKG)_CONFIGURE --with-gta='$(PREFIX)/$(TARGET)' \ --with-hdf5='$(PREFIX)/$(TARGET)' \ --without-odbc \ - --without-static-proj4 \ --without-xerces \ --without-grass \ --without-libgrass \ -- cgit v0.12