[vlc-devel] [PATCH 1/3] Exclude screen plugin to fix compilation for iOS
Gleb Pinigin
gpinigin at gmail.com
Sat Mar 23 12:31:37 CET 2013
---
configure.ac | 1 +
modules/access/Modules.am | 2 ++
2 files changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 5b3501d..bd889e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3187,6 +3187,7 @@ then
VLC_ADD_PLUGIN([vout_ios])
VLC_ADD_LIBS([vout_ios], [-Wl,-framework,OpenGLES,-framework,QuartzCore,-framework,UIKit,-framework,Foundation])
fi
+AM_CONDITIONAL(HAVE_IOS, [test "${SYS}" = "darwin" -a "${enable_ios_vout}" = "yes"])
dnl
dnl Windows DirectX module
diff --git a/modules/access/Modules.am b/modules/access/Modules.am
index 6510158..1ba2b5f 100644
--- a/modules/access/Modules.am
+++ b/modules/access/Modules.am
@@ -187,8 +187,10 @@ if HAVE_DARWIN
libscreen_plugin_la_SOURCES += screen/mac.c
libscreen_plugin_la_LDFLAGS = $(AM_LDFLAGS)
libscreen_plugin_la_LDFLAGS += "-Wl,-framework,OpenGL,-framework,ApplicationServices"
+if !HAVE_IOS
libvlc_LTLIBRARIES += libscreen_plugin.la
endif
+endif
### VNC ###
SOURCES_libvnc = vnc.c
--
1.7.12.4 (Apple Git-37)
More information about the vlc-devel
mailing list