[vlc-devel] [PATCH] video_filter: Makefile: remove linkage to IOKit for tvOS

Alexandre Janniaux ajanni at videolabs.io
Thu Jul 16 14:32:40 CEST 2020


tvOS doesn't support IOKit[1] so the code needing it is disabled in
libvlc_motion.la anyway.

[1]: https://developer.apple.com/documentation/iokit
---
 modules/video_filter/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_filter/Makefile.am b/modules/video_filter/Makefile.am
index 1f06039aa96..ac25c47d562 100644
--- a/modules/video_filter/Makefile.am
+++ b/modules/video_filter/Makefile.am
@@ -55,8 +55,10 @@ librotate_plugin_la_SOURCES = video_filter/rotate.c
 librotate_plugin_la_LIBADD = libvlc_motion.la $(LIBM)
 librotate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
 if HAVE_DARWIN
+if !HAVE_TVOS
 librotate_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
 endif
+endif
 libscale_plugin_la_SOURCES = video_filter/scale.c
 libscene_plugin_la_SOURCES = video_filter/scene.c
 libscene_plugin_la_LIBADD = $(LIBM)
-- 
2.27.0



More information about the vlc-devel mailing list