diff options
author | Martin Lambers <marlam@marlam.de> | 2013-12-03 09:26:55 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-12-04 02:30:36 (GMT) |
commit | 06ba0843843e99e89c339b11cfdaac781d3c8214 (patch) | |
tree | 61befbcfc0316ba585667a08bafbeffb1934100a | |
parent | 791dd8cc22c7e2c68e25fcde5c50bca42d758253 (diff) | |
download | mxe-06ba0843843e99e89c339b11cfdaac781d3c8214.zip mxe-06ba0843843e99e89c339b11cfdaac781d3c8214.tar.gz mxe-06ba0843843e99e89c339b11cfdaac781d3c8214.tar.bz2 |
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.
-rw-r--r-- | src/gdal.mk | 4 |
1 files 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 \ |