From be8620fecec33862cf88b43dc8d9c94b01ee41f2 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 26 Mar 2010 14:39:28 +0100 Subject: [PATCH] qt 4.6.2: use included wsegl header if staging lacks one, not all SGX SDKs include it --- recipes/qt4/qt-4.6.2.inc | 5 +++++ 1 file changed, 5 insertions(+) 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} } -- 2.39.5