summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-08-17 15:19:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-19 09:29:19 -0700
commit1927021c78db1a92254785bbc257c00ed2dfcdba (patch)
tree5c7427190f749bad1deaece163808c0e5ef3af58 /scripts/runqemu
parent85a6d0c260e595ffd44c0d00e8608749b05e458c (diff)
downloadpoky-1927021c78db1a92254785bbc257c00ed2dfcdba.tar.gz
scripts/runqemu: 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: 66e34066a0ac71f4212824b1e6353a4d323f4e21) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 2b8e88a47d..ed8c05bcb2 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -388,7 +388,7 @@ libgl='no'
388 388
389test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' 389test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
390test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' 390test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
391test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes' 391test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && libgl='yes'
392 392
393if [ "$libgl" != 'yes' ]; then 393if [ "$libgl" != 'yes' ]; then
394 echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator. 394 echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.