sdl: Fix host variant dependencies
PATCH 1/1 sdl: Fix host variant dependencies
The host variant of sdl inherited the dependencies and conf opt from sdl which could lead to some trouble.
For example:
If you were to build host-sdl and had alsa-lib enabled in your packages list, it would try to build host-alsa-lib which does not exists.
This patch define basic dependencies and conf opt for the host variant.
--- package/sdl/sdl.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/sdl/sdl.mk +7 -0
@@ -21,6 +21,7 @@ SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN HOST_SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN SDL_DEPENDENCIES += host-automake host-autoconf host-libtool +HOST_SDL_DEPENDENCIES += host-automake host-autoconf host-libtool ifeq ($(BR2_PACKAGE_SDL_FBCON),y) SDL_CONF_OPT += --enable-video-fbcon=yes
@@ -70,6 +71,12 @@ SDL_CONF_OPT += --enable-pulseaudio=no \ --disable-nasm \ --disable-video-ps3 +HOST_SDL_CONF_OPT += --enable-pulseaudio=no \ + --disable-arts \ + --disable-esd \ + --disable-nasm \ + --disable-video-ps3 + SDL_CONFIG_SCRIPTS = sdl-config # Remove the -Wl,-rpath option.
Signature · 1 line
1.9.0
PATCH 1/1 sdl: Fix host variant dependencies
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Hadjinlian <[email protected]> writes:
The host variant of sdl inherited the dependencies and conf opt from sdl which could lead to some trouble.
For example:
If you were to build host-sdl and had alsa-lib enabled in your packages list, it would try to build host-alsa-lib which does not exists.
Quoted 4 lines
This patch define basic dependencies and conf opt for the host variant.
Reported-by Eric Limpens <[email protected]>Signed-off-by Maxime Hadjinlian <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard