qt 4.6.2: use included wsegl header if staging lacks one, not all SGX SDKs include it
authorKoen Kooi <k-kooi@ti.com>
Fri, 26 Mar 2010 13:39:28 +0000 (14:39 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:30 +0000 (19:43 +0200)
recipes/qt4/qt-4.6.2.inc

index 89242bb..83fe431 100644 (file)
@@ -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}
 }