]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
scripts/runqemu: Make it run on ubuntu 11.10
authorKhem Raj <raj.khem@gmail.com>
Mon, 8 Aug 2011 06:30:02 +0000 (23:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Aug 2011 18:13:38 +0000 (19:13 +0100)
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>
scripts/runqemu

index 9611c6412e5b831d535c82c519e261ac387abdfe..2b8e88a47ddb940fb1ea03ae070266aa5fcb2a00 100755 (executable)
@@ -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.