summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-08-07 23:14:03 -0700
committerJoshua Lock <josh@linux.intel.com>2011-10-14 09:38:40 -0700
commit1c5171b2518ea3e037a53caaf50c4bf46bfc13ee (patch)
treed413ab7ee31a7a3cc4aee3621230a198e6c55793
parent5eabb172025849dfa32563a8076b0f639978c338 (diff)
downloadpoky-1c5171b2518ea3e037a53caaf50c4bf46bfc13ee.tar.gz
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. (From OE-Core rev: ced947e989dfbca8055fe57e14207cb6f1357430) 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 2c6b11465f..1fb75d90a9 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -15,6 +15,7 @@ do_configure_prepend_virtclass-native() {
15 15
16 test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' 16 test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
17 test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' 17 test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
18 test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes'
18 19
19 test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes' 20 test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes'
20 21