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

Alexandre Janniaux git at videolan.org
Wed Jul 22 15:28:10 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jul 16 14:32:40 2020 +0200| [157632026c08760dddc86fd012f1675b3c0e27d8] | committer: Alexandre Janniaux

video_filter: Makefile: remove linkage to IOKit for tvOS

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=157632026c08760dddc86fd012f1675b3c0e27d8
---

 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 51ee92aff1..7a51d960eb 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)



More information about the vlc-commits mailing list