[oe-commits] Drew Moseley : mesa-demos: Fix building demos which require GLU.

git at git.openembedded.org git at git.openembedded.org
Wed Jul 22 22:13:31 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 780b2b2f83801bb4623e22e7dda5273fcab03301
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=780b2b2f83801bb4623e22e7dda5273fcab03301

Author: Drew Moseley <drew_moseley at mentor.com>
Date:   Tue Jul 21 08:19:08 2015 -0400

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 at mentor.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../0003-configure-Allow-to-disable-demos-which-require-GLEW-.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 4b07193..6b58c2b 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]))



More information about the Openembedded-commits mailing list