[vlc-commits] vda: correctly link module against libavcodec (close #8440)
Felix Paul Kühne
git at videolan.org
Thu Apr 25 19:05:52 CEST 2013
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Apr 25 19:05:38 2013 +0200| [79a0dc92e3c52a5e944828ab80fccdd548268e02] | committer: Felix Paul Kühne
vda: correctly link module against libavcodec (close #8440)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79a0dc92e3c52a5e944828ab80fccdd548268e02
---
modules/codec/Modules.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/codec/Modules.am b/modules/codec/Modules.am
index 8113d8a..1fb65df 100644
--- a/modules/codec/Modules.am
+++ b/modules/codec/Modules.am
@@ -148,7 +148,9 @@ endif
libvda_plugin_la_SOURCES = \
avcodec/copy.c avcodec/copy.h \
avcodec/vda.c
-libvda_plugin_la_LDFLAGS = -Wl,-framework,CoreFoundation,-framework,VideoDecodeAcceleration,-framework,QuartzCore
+libvda_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_avcodec)
+libvda_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_avcodec)
+libvda_plugin_la_LDFLAGS = $(LDFLAGS_avcodec) -Wl,-framework,CoreFoundation,-framework,VideoDecodeAcceleration,-framework,QuartzCore
if HAVE_AVCODEC_VDA
libvlc_LTLIBRARIES += libvda_plugin.la
endif
More information about the vlc-commits
mailing list