sdl: remove dga support in no MMU
authorJérôme Pouiller <jezz@sysmic.org>
Fri, 12 Sep 2014 15:50:09 +0000 (17:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Sep 2014 21:18:20 +0000 (23:18 +0200)
DGA support use fork. This prevent executables to link with libSDL.so.

Fixes:
  http://sysmic.org/~jezz/results/5e50c243 (package sdl_mixer)
  http://sysmic.org/~jezz/results/734afef8 (package sdl_net)
  http://sysmic.org/~jezz/results/e2310eb9 (package sdl_image)
  http://sysmic.org/~jezz/results/e2cdcc9a (package sdl_sound)

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sdl/sdl.mk

index 8d0e5bd978556bc8cf598512481b2c4a0def96c0..77fbdd9a8cd5a390c7f3843494148f49c9f08d60 100644 (file)
@@ -53,6 +53,10 @@ else
 SDL_CONF_OPT += --enable-video-x11=no
 endif
 
+ifneq ($(BR2_USE_MMU),y)
+SDL_CONF_OPT += --enable-dga=no
+endif
+
 ifeq ($(BR2_PACKAGE_TSLIB),y)
 SDL_DEPENDENCIES += tslib
 endif