diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-10-13 11:05:05 -0700 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2011-10-14 09:38:40 -0700 |
commit | e5cce8a57d40a16a5133c1a394ab0f3717741344 (patch) | |
tree | 49b68ff9b3d09fbbefa7c3274c694f2e584f7e1d /scripts | |
parent | bb855dab75941397d3da44994011a678c6427303 (diff) | |
download | poky-e5cce8a57d40a16a5133c1a394ab0f3717741344.tar.gz |
scripts/poky-qemu: fix libGL checks for recent Debian(ish) systems
On 64bit Debian(ish) systems libGL now lives in /usr/lib/x86_64-gnu/, add an
extra test to the qemu script to check for libGL and libGLU in directories
that match this pattern.
Based on commits by Khem Raj (0350be945877b61eb8125663887fd7ed1c3923ab) and
Anders Darander (1927021c78db1a92254785bbc257c00ed2dfcdba) in OE-Core.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/poky-qemu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu index c76b3ab7b6..b1c3fc6831 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu | |||
@@ -387,6 +387,7 @@ libgl='no' | |||
387 | 387 | ||
388 | test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' | 388 | test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes' |
389 | test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' | 389 | test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes' |
390 | test -e /usr/lib/*-linux=gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && libgl='yes' | ||
390 | 391 | ||
391 | if [ "$libgl" != 'yes' ]; then | 392 | if [ "$libgl" != 'yes' ]; then |
392 | echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator. | 393 | echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator. |