[oe-commits] Martin Jansa : gdal: fix sqlite, expat and libtiff detection

git at git.openembedded.org git at git.openembedded.org
Wed Dec 3 14:14:52 UTC 2014


Module: meta-openembedded.git
Branch: daisy-next
Commit: d3d14d3fcca7fcde362cf0b31411dc4eea6d20aa
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=d3d14d3fcca7fcde362cf0b31411dc4eea6d20aa

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Dec  1 12:50:15 2014 +0100

gdal: fix sqlite, expat and libtiff detection

* 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 at gmail.com>

---

 meta-oe/recipes-navigation/gdal/gdal_1.10.1.bb | 5 +++--
 1 file 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 4fa6de1..e22108e 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""



More information about the Openembedded-commits mailing list