[vlc-devel] [PATCH 3.0.x] contrib/SDL_image: disable SDL_image for macOS
Zhao Zhili
quinkblack at foxmail.com
Sun Nov 15 12:12:52 CET 2020
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
More information about the vlc-devel
mailing list