mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
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 (0350be9458) and Anders Darander (1927021c78) in OE-Core. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -387,6 +387,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/*-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.
|
||||
|
||||
Reference in New Issue
Block a user