Add the 'directx' PACKAGECONFIG to configure whether to build with
DirectX support. By default this is enabled (when targeting
mingw32/windows) however this requires the DirectX libraries in order to
include and link against.

Signed-off-by: Nathan Rossi <[email protected]>
---
 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb 
b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
index e770b5f051..21dfb9fdb9 100644
--- a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -56,6 +56,7 @@ PACKAGECONFIG[tslib] = "--enable-input-tslib, 
--disable-input-tslib, tslib"
 PACKAGECONFIG[directfb] = "--enable-video-directfb, --disable-video-directfb, 
directfb"
 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"
+PACKAGECONFIG[directx] = "--enable-directx,--disable-directx"
 
 EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
 
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to