[vlc-devel] [PATCH 02/14] contrib: SDL_image: don't build for Mac OSX

Vittorio Giovara vittorio.giovara at gmail.com
Mon Jun 30 21:04:22 CEST 2014


From: Konstantin Pavlov <thresh at nginx.com>

libSDL (which SDL_image is dependant on) fails to build on OSX 10.9.
I see no point in fixing its build when we don't use the
library anyway as we --disable-sdl in configure for VLC.

Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>
---
 contrib/src/SDL_image/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/SDL_image/rules.mak b/contrib/src/SDL_image/rules.mak
index 2ddfeb9..d437029 100644
--- a/contrib/src/SDL_image/rules.mak
+++ b/contrib/src/SDL_image/rules.mak
@@ -3,7 +3,9 @@
 SDL_IMAGE_VERSION := 1.2.12
 SDL_IMAGE_URL := http://www.libsdl.org/projects/SDL_image/release/SDL_image-$(SDL_IMAGE_VERSION).tar.gz
 
+ifndef HAVE_MACOSX
 PKGS += SDL_image
+endif
 ifeq ($(call need_pkg,"SDL_image"),)
 PKGS_FOUND += SDL_image
 endif
-- 
1.8.5.2 (Apple Git-48)




More information about the vlc-devel mailing list