summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-08-17 15:18:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-19 09:29:19 -0700
commit85a6d0c260e595ffd44c0d00e8608749b05e458c (patch)
tree2673b4a75723ade3eea7aec15f7c3ec0b4b5e9ac /meta/recipes-devtools/qemu/qemu.inc
parentce4c33ed8a54205698db16791178c96156083440 (diff)
downloadpoky-85a6d0c260e595ffd44c0d00e8608749b05e458c.tar.gz
qemu: modify search paths for libgl
On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so. Use a wildcard to match different locations, as uname -i only return unknown on Debian. (From OE-Core rev: 32f74152dfe583f005c8654910b15cd7d0e3d421) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index e5414ff7f7..86c7d2c1fa 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -26,7 +26,7 @@ do_configure_prepend_virtclass-native() {
26 26
27 test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' 27 test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
28 test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' 28 test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
29 test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes' 29 test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && libgl='yes'
30 30
31 test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes' 31 test -e /usr/lib/pkgconfig/sdl.pc -o -e /usr/lib64/pkgconfig/sdl.pc -o -e /usr/include/SDL/SDL.h && libsdl='yes'
32 32