qemu.inc: make use of virtual/libsdl2

Fix to ensure it would work with both libsdl2 and libsdl2-compat

(From OE-Core rev: 21033e98045d03025f6e12dba16428fa484b3057)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Volk 2025-04-27 18:39:10 +02:00 committed by Richard Purdie
parent dd1e47489e
commit c07ded97d7

View File

@ -165,7 +165,7 @@ do_install () {
PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+"
PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl2"
PACKAGECONFIG[sdl-image] = "--enable-sdl-image,--disable-sdl-image,libsdl2-image"
PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng"
PACKAGECONFIG[virtfs] = "--enable-virtfs --enable-attr --enable-cap-ng,--disable-virtfs,libcap-ng attr,"