[oe-commits] Jeremy Lainé : qt4.inc: add -I${STAGING_INCDIR}/ postgresql to includes

git version control git at git.openembedded.org
Fri Jul 24 14:37:06 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b4c675b65391f75b76456262cfce5f204cf26213
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b4c675b65391f75b76456262cfce5f204cf26213

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Fri Jul 24 16:35:53 2009 +0200

qt4.inc: add -I${STAGING_INCDIR}/postgresql to includes

This works around part of the problem when cross-compiling
the PostgreSQL plugin. The build will still fail if the
"pg_config" program is present on the build machine.

---

 recipes/qt4/qt4.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc
index 9d82a1b..b4f53c1 100644
--- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -160,7 +160,8 @@ do_configure() {
             ${QT_CONFIG_FLAGS} -fast \
             -L${STAGING_LIBDIR} -I${STAGING_INCDIR} \
             -I${STAGING_INCDIR}/freetype2 \
-            -I${STAGING_INCDIR}/mysql
+            -I${STAGING_INCDIR}/mysql \
+            -I${STAGING_INCDIR}/postgresql
 }
 
 do_compile() {





More information about the Openembedded-commits mailing list