From: Koen Kooi Date: Fri, 26 Mar 2010 13:39:28 +0000 (+0100) Subject: qt 4.6.2: use included wsegl header if staging lacks one, not all SGX SDKs include it X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8620fecec33862cf88b43dc8d9c94b01ee41f2;p=openembedded.git qt 4.6.2: use included wsegl header if staging lacks one, not all SGX SDKs include it --- 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} }