[vlc-commits] VT: only apply macOS flags to macOS
Jean-Baptiste Kempf
git at videolan.org
Tue Dec 27 10:20:04 CET 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 27 10:15:48 2016 +0100| [dcebe0134ffdf03cae4b702a9027b8278be6266b] | committer: Jean-Baptiste Kempf
VT: only apply macOS flags to macOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dcebe0134ffdf03cae4b702a9027b8278be6266b
---
modules/codec/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 5b56ecf..49c3db4 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -312,7 +312,9 @@ codec_LTLIBRARIES += $(LTLIBoggspots)
libvideotoolbox_plugin_la_SOURCES = video_chroma/copy.c video_chroma/copy.h codec/videotoolbox.m \
packetizer/h264_nal.c packetizer/h264_nal.h \
packetizer/hxxx_nal.c packetizer/hxxx_nal.h
+if HAVE_OSX
libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -mmacosx-version-min=10.8
+endif
libvideotoolbox_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
EXTRA_LTLIBRARIES += libvideotoolbox_plugin.la
codec_LTLIBRARIES += $(LTLIBvideotoolbox)
More information about the vlc-commits
mailing list