summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <k-kooi@ti.com>2010-03-26 14:39:28 +0100
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:30 +0200
commitbe8620fecec33862cf88b43dc8d9c94b01ee41f2 (patch)
tree3c53b706cb633aa99593d59cbd7cec1ad30bdced
parentf3a0fae8ea873099a17dc93939a9941306582bfe (diff)
qt 4.6.2: use included wsegl header if staging lacks one, not all SGX SDKs include it
-rw-r--r--recipes/qt4/qt-4.6.2.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/qt4/qt-4.6.2.inc b/recipes/qt4/qt-4.6.2.inc
index 89242bbaee..83fe431ae3 100644
--- a/recipes/qt4/qt-4.6.2.inc
+++ b/recipes/qt4/qt-4.6.2.inc
@@ -40,6 +40,11 @@ QT_GLFLAGS ?= ""
QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
do_compile() {
+ # Fixup missing wsegl header in some SGX SDKs
+ if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
+ cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
+ fi
+
unset CFLAGS CXXFLAGS
oe_runmake ${EXTRA_ENV}
}