# HG changeset patch # User Mark Brand # Date 1266238033 -3600 # Node ID 81bf4cbb3962166683bdaf0f6124a5693a67a83f # Parent 2900ac4f38c0e624252e4853be56c7ee01a2ade2 --with-sqlite3 and --with-spatialite prevent confusion with native libs The absence of "--with-sqlite3" allowed "configure" to be find native sqlite3. Cross building failed because of "-I/usr/include". It seems prudent to specify --with-spatialite for the same reason. diff -r 2900ac4f38c0 -r 81bf4cbb3962 src/gdal.mk --- a/src/gdal.mk Mon Feb 15 02:40:09 2010 +0100 +++ b/src/gdal.mk Mon Feb 15 13:47:13 2010 +0100 @@ -33,6 +33,8 @@ --with-jpeg='$(PREFIX)/$(TARGET)' \ --with-gif='$(PREFIX)/$(TARGET)' \ --with-expat='$(PREFIX)/$(TARGET)' \ + --with-sqlite3='$(PREFIX)/$(TARGET)' \ + --with-spatialite='$(PREFIX)/$(TARGET)' \ --with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \ --with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \ --without-python \