From 66e34066a0ac71f4212824b1e6353a4d323f4e21 Mon Sep 17 00:00:00 2001 From: Anders Darander Date: Wed, 17 Aug 2011 15:19:46 +0200 Subject: 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 --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/runqemu b/scripts/runqemu index 2b8e88a47..ed8c05bcb 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. -- cgit v1.2.3