diff options
author | Anders Darander <anders@chargestorm.se> | 2011-08-17 15:19:46 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-19 09:05:51 -0700 |
commit | 66e34066a0ac71f4212824b1e6353a4d323f4e21 (patch) | |
tree | f167b1a21013b1653dd23dc0bcf771473c019627 /scripts/runqemu | |
parent | 32f74152dfe583f005c8654910b15cd7d0e3d421 (diff) | |
download | openembedded-core-contrib-66e34066a0ac71f4212824b1e6353a4d323f4e21.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.
Signed-off-by: Anders Darander <anders@chargestorm.se>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 2b8e88a47dd..ed8c05bcb2a 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -388,7 +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' +test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-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. |