[vlc-devel] [PATCH 1/2] ios: exclude screen plugin from compilation

Gleb Pinigin gpinigin at gmail.com
Mon Mar 18 04:20:00 CET 2013


---
 configure.ac              | 1 +
 modules/access/Modules.am | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 20daefe..6e3175f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3166,6 +3166,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 daca19c..9ec609f 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
 
 
 ### Optical media ###
-- 
1.7.12.4 (Apple Git-37)




More information about the vlc-devel mailing list