aboutsummaryrefslogtreecommitdiff
path: root/package/sdl/sdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sdl/sdl.mk')
-rw-r--r--package/sdl/sdl.mk29
1 files changed, 16 insertions, 13 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index d3fc232fac..05d9a54701 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -46,7 +46,8 @@ endif
ifeq ($(BR2_PACKAGE_SDL_X11),y)
SDL_CONF_OPTS += --enable-video-x11=yes
-SDL_DEPENDENCIES += xlib_libX11 xlib_libXext \
+SDL_DEPENDENCIES += \
+ xlib_libX11 xlib_libXext \
$(if $(BR2_PACKAGE_XLIB_LIBXRENDER), xlib_libXrender) \
$(if $(BR2_PACKAGE_XLIB_LIBXRANDR), xlib_libXrandr)
else
@@ -69,18 +70,20 @@ ifeq ($(BR2_PACKAGE_MESA3D),y)
SDL_DEPENDENCIES += mesa3d
endif
-SDL_CONF_OPTS += --enable-pulseaudio=no \
- --disable-arts \
- --disable-esd \
- --disable-nasm \
- --disable-video-ps3
-
-HOST_SDL_CONF_OPTS += --enable-pulseaudio=no \
- --enable-video-x11=no \
- --disable-arts \
- --disable-esd \
- --disable-nasm \
- --disable-video-ps3
+SDL_CONF_OPTS += \
+ --enable-pulseaudio=no \
+ --disable-arts \
+ --disable-esd \
+ --disable-nasm \
+ --disable-video-ps3
+
+HOST_SDL_CONF_OPTS += \
+ --enable-pulseaudio=no \
+ --enable-video-x11=no \
+ --disable-arts \
+ --disable-esd \
+ --disable-nasm \
+ --disable-video-ps3
SDL_CONFIG_SCRIPTS = sdl-config