0019-video_chroma-cvpx-set-correct-deployment-targets.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From e9b79fb80f099821a0ab635ec19db966405b9a2c Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Mon, 17 Jul 2017 17:56:05 +0200
  4. Subject: [PATCH 19/19] video_chroma/cvpx: set correct deployment targets
  5. ---
  6. modules/video_chroma/Makefile.am | 12 ++++++++++--
  7. 1 file changed, 10 insertions(+), 2 deletions(-)
  8. diff --git a/modules/video_chroma/Makefile.am b/modules/video_chroma/Makefile.am
  9. index 14195e8f04..e0298d50bf 100644
  10. --- a/modules/video_chroma/Makefile.am
  11. +++ b/modules/video_chroma/Makefile.am
  12. @@ -132,8 +132,16 @@ chroma_LTLIBRARIES += \
  13. libd3d11_surface_plugin.la
  14. endif
  15. -libcvpx_plugin_la_SOURCES = video_chroma/cvpx.c \
  16. - codec/vt_utils.c codec/vt_utils.h
  17. +libcvpx_plugin_la_SOURCES = codec/vt_utils.c codec/vt_utils.h video_chroma/cvpx.c
  18. +if HAVE_OSX
  19. +libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -mmacosx-version-min=10.8
  20. +endif
  21. +if HAVE_IOS
  22. +libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -miphoneos-version-min=8.0
  23. +endif
  24. +if HAVE_TVOS
  25. +libcvpx_plugin_la_CFLAGS = $(AM_CFLAGS) -mtvos-version-min=10.2
  26. +endif
  27. libcvpx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
  28. EXTRA_LTLIBRARIES += libcvpx_plugin.la
  29. chroma_LTLIBRARIES += $(LTLIBcvpx)
  30. --
  31. 2.13.2