diff options
author | Anders Darander <anders@chargestorm.se> | 2011-08-17 15:18:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-19 09:05:51 -0700 |
commit | 32f74152dfe583f005c8654910b15cd7d0e3d421 (patch) | |
tree | 656df860c851fb553677735acddc51b07c2b72ee | |
parent | c7bcf6e7c851269178af99ed9096207ab14fe76c (diff) | |
download | openembedded-core-32f74152dfe583f005c8654910b15cd7d0e3d421.tar.gz openembedded-core-32f74152dfe583f005c8654910b15cd7d0e3d421.tar.bz2 openembedded-core-32f74152dfe583f005c8654910b15cd7d0e3d421.tar.xz openembedded-core-32f74152dfe583f005c8654910b15cd7d0e3d421.zip |
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.
Signed-off-by: Anders Darander <anders@chargestorm.se>
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index e5414ff7f..86c7d2c1f 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -26,7 +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/*-linux-gnu/libGL.so -a -e /usr/lib/*-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' |