]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa-demos: Specify the lib dir to locate glut libraries
authorDrew Moseley <drew_moseley@mentor.com>
Thu, 8 May 2014 20:17:41 +0000 (16:17 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 May 2014 11:26:36 +0000 (12:26 +0100)
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-graphics/mesa/mesa-demos/glut.patch
meta/recipes-graphics/mesa/mesa-demos_8.1.0.bb

index 84b6d4f7f3de735417ed2807db1159d0cef83a1b..2ca5a938ac94ea443b5ea1c4127478ccdcb4285f 100644 (file)
@@ -27,7 +27,7 @@ Index: mesa-demos-8.0.1/configure.ac
 -              [glutInit],
 -              [],
 -              [glut_enabled=no])
-+       GLUT_LIBS="-L$withval/lib -lglut"],
++       GLUT_LIBS="-L$withval -lglut"],
 +      [GLUT_CFLAGS=""
 +       GLUT_LIBS="-lglut"]
 +        )
index d6e6fbceb1dd8a68c492dc6b20be191385a331ff..211df3b2492736bae765ec03f3bcca971e25b118 100644 (file)
@@ -33,7 +33,7 @@ PACKAGECONFIG[freetype2] = "--enable-freetype2,--disable-freetype2,freetype"
 PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgl"
 PACKAGECONFIG[gles1] = "--enable-gles1,--disable-gles1,virtual/libgles1"
 PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
-PACKAGECONFIG[glut] = "--with-glut,--without-glut,"
+PACKAGECONFIG[glut] = "--with-glut=${STAGING_LIBDIR},--without-glut,"
 PACKAGECONFIG[osmesa] = "--enable-osmesa,--disable-osmesa,"
 PACKAGECONFIG[vg] = "--enable-vg,--disable-vg,virtual/libvg"
 PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,virtual/libgl wayland"