aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-08-07 23:30:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-11 19:13:38 +0100
commit8d80918995a15663db7cc9c0683d45ee8ba7d45c (patch)
tree8ba98979ebef890fdcab0d7fd8086a393169f416 /scripts
parentf3a52a73251b26ead15abd4910dc82c1011ab852 (diff)
downloadopenembedded-core-contrib-8d80918995a15663db7cc9c0683d45ee8ba7d45c.tar.gz
scripts/runqemu: Make it run on ubuntu 11.10
location of libGL has moved in ubuntu 11.10 so we look for it in the new locations Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 9611c6412e5..2b8e88a47dd 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -388,6 +388,7 @@ libgl='no'
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'
if [ "$libgl" != 'yes' ]; then
echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.