[vlc-devel] [PATCH 3.0.x] contrib/SDL_image: disable SDL_image for macOS

David Fuhrmann david.fuhrmann at gmail.com
Sun Nov 15 18:24:00 CET 2020



> Am 15.11.2020 um 12:12 schrieb Zhao Zhili <quinkblack at foxmail.com>:
> 
> sdl_image module is disabled on macOS, and it's dependency sdl
> failed to build.
> ---
> contrib/src/SDL_image/rules.mak | 3 +++
> 1 file changed, 3 insertions(+)
> 
> diff --git a/contrib/src/SDL_image/rules.mak b/contrib/src/SDL_image/rules.mak
> index c66911ac78..59c694b680 100644
> --- a/contrib/src/SDL_image/rules.mak
> +++ b/contrib/src/SDL_image/rules.mak
> @@ -3,7 +3,10 @@
> SDL_IMAGE_VERSION := 1.2.12
> SDL_IMAGE_URL := http://www.libsdl.org/projects/SDL_image/release/SDL_image-$(SDL_IMAGE_VERSION).tar.gz
> 
> +# sdl_image module is disabled on macOS, and it's dependency sdl failed to build
> +ifndef HAVE_DARWIN_OS
> PKGS += SDL_image
> +endif
> ifeq ($(call need_pkg,"SDL_image"),)
> PKGS_FOUND += SDL_image
> endif
> -- 
> 2.28.0


Thanks, merged.

BR. David


More information about the vlc-devel mailing list