summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-08-07 23:14:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-09 15:21:06 +0100
commitced947e989dfbca8055fe57e14207cb6f1357430 (patch)
treec8726728791ab68e0e50ec0505a2814ccabbeb90
parent866a34dd80228a0c10cbea5d7715e2acd6cea131 (diff)
downloadopenembedded-core-ced947e989dfbca8055fe57e14207cb6f1357430.tar.gz
openembedded-core-ced947e989dfbca8055fe57e14207cb6f1357430.tar.bz2
openembedded-core-ced947e989dfbca8055fe57e14207cb6f1357430.zip
qemu: Poke more paths for presence of libgl
On ubuntu 11.10 libGL is not in /usr/lib/`uname -i`-linux-gnu/ directory so we search this dir too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index ac8a3eb10d..85476d6d93 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -26,6 +26,7 @@ do_configure_prepend_virtclass-native() {
test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
+ test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes'
test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes'