[vlc-commits] avcodec: link basic Darwin frameworks
Felix Paul Kühne
git at videolan.org
Mon Oct 5 20:02:22 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Oct 5 19:25:15 2015 +0200| [4aa3467daa6b0b7ba04531421d77286a8b92e45e] | committer: Felix Paul Kühne
avcodec: link basic Darwin frameworks
This solves linking issues with FFmpeg HEAD
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4aa3467daa6b0b7ba04531421d77286a8b92e45e
---
modules/codec/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 868bdcc..71a87c5 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -319,6 +319,9 @@ libavcodec_plugin_la_SOURCES += demux/avformat/mux.c
endif
libavcodec_plugin_la_CFLAGS += -DMERGE_FFMPEG
endif
+if HAVE_DARWIN
+libavcodec_plugin_la_LDFLAGS += -Wl,-framework,Foundation -Wl,-framework,Security,-framework,CoreFoundation
+endif
if HAVE_AVCODEC
codec_LTLIBRARIES += libavcodec_plugin.la
endif
More information about the vlc-commits
mailing list