qt4.inc: add -I${STAGING_INCDIR}/postgresql to includes
authorJeremy Lainé <jeremy.laine@m4x.org>
Fri, 24 Jul 2009 14:35:53 +0000 (16:35 +0200)
committerJeremy Lainé <jeremy.laine@m4x.org>
Fri, 24 Jul 2009 14:35:53 +0000 (16:35 +0200)
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

index 9d82a1b..b4f53c1 100644 (file)
@@ -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() {