aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-12-01 12:50:15 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-03 15:11:26 +0100
commita37ec834a4658d1dc359e26bc60fca57d0ce1eb5 (patch)
tree2d7dcd85459dc2acbc3ed7bd9d8630964ec5f2df
parent08c6c87275ce97d7dd05bb0d10723f614731847a (diff)
downloadmeta-openembedded-contrib-jansa/dora-backports.tar.gz
meta-openembedded-contrib-jansa/dora-backports.tar.bz2
meta-openembedded-contrib-jansa/dora-backports.zip
gdal: fix sqlite, expat and libtiff detectionjansa/dora-backportsjansa/dora
* fixes following configure errors like: checking for SQLite3 library >= 3.0.0... yes cat: /OE/sysroots/qemux86/usr/lib/include/sqlite3.h: No such file or directory /OE/work/i586-starfish-linux/gdal/1.10.1-r0/gdal-1.10.1/configure: line 25411: test: !=: unary operator expected configure: WARNING: Can not find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version! * and autodetected expat support which sometimes tries to use host version from /usr/include Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
index ce8574e92b..6517eef8e7 100644
--- a/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
+++ b/meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb
@@ -79,8 +79,9 @@ EXTRA_OECONF = "--without-perl \
--with-pcraster=internal \
--with-geotiff=internal \
\
- --with-sqlite3=${STAGING_LIBDIR} \
- --with-libtiff=${STAGING_LIBDIR} \
+ --with-sqlite3=${STAGING_EXECPREFIXDIR} \
+ --with-libtiff=${STAGING_EXECPREFIXDIR} \
+ --with-expat=${STAGING_EXECPREFIXDIR} \
"
EXTRA_OEMAKE += "INST_DATA="${datadir}/gdal""