summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
}