[vlc-commits] codec/videotoolbox: Use OBJCFLAGS instead of CFLAGS
Marvin Scholz
git at videolan.org
Mon Oct 30 13:44:38 CET 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Oct 23 18:29:05 2017 +0200| [92a3da5016e088a861806454cb62a075c4da5c52] | committer: Marvin Scholz
codec/videotoolbox: Use OBJCFLAGS instead of CFLAGS
This is an Objective C module, therefore it should use OBJCFLAGS instead
of CFLAGS.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92a3da5016e088a861806454cb62a075c4da5c52
---
modules/codec/Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 1ce67dd76e..2f625badfb 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -333,13 +333,13 @@ libvideotoolbox_plugin_la_SOURCES = video_chroma/copy.c video_chroma/copy.h \
packetizer/h264_nal.c packetizer/h264_nal.h \
packetizer/hevc_nal.c packetizer/hevc_nal.h
if HAVE_OSX
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -mmacosx-version-min=10.8
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -mmacosx-version-min=10.8
endif
if HAVE_IOS
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -miphoneos-version-min=8.0
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -miphoneos-version-min=8.0
endif
if HAVE_TVOS
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -mtvos-version-min=10.2
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -mtvos-version-min=10.2
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
More information about the vlc-commits
mailing list