summaryrefslogtreecommitdiffstats
path: root/package/sdl/sdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sdl/sdl.mk')
-rw-r--r--package/sdl/sdl.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index f15a5213c..5460f51e6 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -32,7 +32,9 @@ endif
ifeq ($(BR2_PACKAGE_SDL_X11),y)
SDL_CONF_OPT+=--enable-video-x11=yes
-SDL_DEPENDENCIES += xserver_xorg-server
+SDL_DEPENDENCIES += xlib_libX11 xlib_libXext \
+ $(if $(BR2_PACKAGE_XLIB_LIBXRENDER), xlib_libXrender) \
+ $(if $(BR2_PACKAGE_XLIB_LIBXRANDR), xlib_libXrandr)
else
SDL_CONF_OPT+=--enable-video-x11=no
endif