123456789101112131415161718192021222324252627282930313233343536 |
- From e9b79fb80f099821a0ab635ec19db966405b9a2c Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
- Date: Mon, 17 Jul 2017 17:56:05 +0200
- Subject: [PATCH 19/19] video_chroma/cvpx: set correct deployment targets
- ---
- 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)
- --
- 2.13.2
|