[vlc-commits] video_chroma/cvpx: set correct deployment targets

Felix Paul Kühne git at videolan.org
Thu Jul 20 14:26:23 CEST 2017


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jul 17 17:56:05 2017 +0200| [1fccfccbaf77ce49d09df827e185a24bef4219d5] | committer: Felix Paul Kühne

video_chroma/cvpx: set correct deployment targets

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

 modules/video_chroma/Makefile.am | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/modules/video_chroma/Makefile.am b/modules/video_chroma/Makefile.am
index 14195e8f04..e0298d50bf 100644
--- a/modules/video_chroma/Makefile.am
+++ b/modules/video_chroma/Makefile.am
@@ -132,8 +132,16 @@ chroma_LTLIBRARIES += \
 	libd3d11_surface_plugin.la
 endif
 
-libcvpx_plugin_la_SOURCES = video_chroma/cvpx.c \
-	codec/vt_utils.c codec/vt_utils.h
+libcvpx_plugin_la_SOURCES = codec/vt_utils.c codec/vt_utils.h video_chroma/cvpx.c
+if HAVE_OSX
+libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -mmacosx-version-min=10.8
+endif
+if HAVE_IOS
+libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -miphoneos-version-min=8.0
+endif
+if HAVE_TVOS
+libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -mtvos-version-min=10.2
+endif
 libcvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
 EXTRA_LTLIBRARIES += libcvpx_plugin.la
 chroma_LTLIBRARIES += $(LTLIBcvpx)



More information about the vlc-commits mailing list