[meta-mingw][PATCH] libsdl2: do not enable opengl


Alexander Kanavin
 

In some configurations this can be switched on in oe-core,
and so needs to be disabled similarly to x11.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
recipes-graphics/libsdl2/libsdl2_%.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend
index 5d8ac54..92fa41c 100644
--- a/recipes-graphics/libsdl2/libsdl2_%.bbappend
+++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -1,7 +1,7 @@
# Need to disable X11 explictly as nativesdk-libxdmcp fails:
# .libs/Fill.o:Fill.c:(.text+0x48): undefined reference to `_imp__recvfrom@24'
# .libs/Flush.o:Flush.c:(.text+0x36): undefined reference to `_imp__sendto@24'
-PACKAGECONFIG_remove_mingw32_class-nativesdk = "x11"
+PACKAGECONFIG_remove_mingw32_class-nativesdk = "x11 opengl"

# libtool doesn't think it can link windres output (COFF) with libtool objects
# (COFF) , but it can. This might be because file misidentifies version.o:
--
2.26.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.