summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2015-07-21 08:19:08 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-22 23:25:00 +0100
commit72192d55cc6b213b6304dc805566c60a78d96b02 (patch)
tree6b614f61c0d50868d5ec075b0d7c9c91c26357c5 /meta/recipes-graphics/mesa
parentd308e4750e6647c2f2be9c69e25645d3eeb78b3f (diff)
downloadopenembedded-core-72192d55cc6b213b6304dc805566c60a78d96b02.tar.gz
openembedded-core-72192d55cc6b213b6304dc805566c60a78d96b02.tar.bz2
openembedded-core-72192d55cc6b213b6304dc805566c60a78d96b02.zip
mesa-demos: Fix building demos which require GLU.
Set glu_enabled when pkg-config detects GLU. This is needed so that HAVE_GLU is properly set to enable the GLU based demos. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
index 4b07193a7f..6b58c2b776 100644
--- a/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
+++ b/meta/recipes-graphics/mesa/mesa-demos/0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch
@@ -66,7 +66,7 @@ index 9445424..bc4c8d1 100644
-DEMO_CFLAGS="$DEMO_CFLAGS $GLU_CFLAGS"
-DEMO_LIBS="$DEMO_LIBS $GLU_LIBS"
+if test "x$enable_glu" = xyes; then
-+ PKG_CHECK_MODULES(GLU, [glu], [],
++ PKG_CHECK_MODULES(GLU, [glu], [glu_enabled=yes],
+ [AC_CHECK_HEADER([GL/glu.h],
+ [],
+ AC_MSG_ERROR([GLU not found]))