[vlc-commits] contrib/SDL_image: disable SDL_image for macOS

Zhao Zhili git at videolan.org
Sun Nov 15 18:23:27 CET 2020


vlc/vlc-3.0 | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Sun Nov 15 19:12:52 2020 +0800| [d7d601f497f07729ebac871fb8ed9ea3a4b996db] | committer: David Fuhrmann

contrib/SDL_image: disable SDL_image for macOS

sdl_image module is disabled on macOS, and it's dependency sdl
failed to build.

Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=d7d601f497f07729ebac871fb8ed9ea3a4b996db
---

 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



More information about the vlc-commits mailing list