Skip to contentSkip to conversation

libsdl: Move PACKAGECONFIG options from meta-mingw

PATCH New Mark Hatle 1 participant 1 message Aug 28, 2017

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 libsdl: Move PACKAGECONFIG options from meta-mingw

There is no way to make PACKAGECONFIG options sdkmachine specific using overrides. This causes potential failures when running the Yocto Project compatible script. Moving these to the OpenEmbedded Core recipe will ensure that the options are always applied evenly and avoid any potential problems with the compatible script.

---
 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb +4 -0
index b0d70a6..3680ea9 100644
@@ -54,6 +54,10 @@ PACKAGECONFIG[directfb] = "--enable-video-directfb, --disable-video-directfb, di
 PACKAGECONFIG[opengl] = "--enable-video-opengl, --disable-video-opengl, virtual/libgl libglu"
 PACKAGECONFIG[x11] = "--enable-video-x11 --disable-x11-shared, --disable-video-x11, virtual/libx11 libxext libxrandr libxrender"
 
+# The following two options should only enabled with mingw support
+PACKAGECONFIG[stdio-redirect] = "--enable-stdio-redirect,--disable-stdio-redirect"
+PACKAGECONFIG[directx] = "--enable-directx,--disable-directx"
+
 EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
 
 do_configure_prepend() {
Signature · 1 line
1.8.3.1