[gst-cvs] gst-plugins-ugly: mpeg2dec: link to gstvideo
Wim Taymans
wtay at kemper.freedesktop.org
Tue May 12 11:24:49 PDT 2009
Module: gst-plugins-ugly
Branch: master
Commit: 707d2fceae24389f9401db245064988d5273925c
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=707d2fceae24389f9401db245064988d5273925c
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date: Tue May 12 20:24:02 2009 +0200
mpeg2dec: link to gstvideo
Fix compilation by adding the right include directories and linking to the video
library.
---
ext/mpeg2dec/Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ext/mpeg2dec/Makefile.am b/ext/mpeg2dec/Makefile.am
index 816dda8..376336c 100644
--- a/ext/mpeg2dec/Makefile.am
+++ b/ext/mpeg2dec/Makefile.am
@@ -1,8 +1,9 @@
plugin_LTLIBRARIES = libgstmpeg2dec.la
libgstmpeg2dec_la_SOURCES = gstmpeg2dec.c
-libgstmpeg2dec_la_CFLAGS = $(GST_CFLAGS) $(MPEG2DEC_CFLAGS)
-libgstmpeg2dec_la_LIBADD = $(MPEG2DEC_LIBS) $(GST_LIBS)
+libgstmpeg2dec_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(MPEG2DEC_CFLAGS)
+libgstmpeg2dec_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(MPEG2DEC_LIBS) $(GST_LIBS) \
+ -lgstvideo-$(GST_MAJORMINOR)
libgstmpeg2dec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstmpeg2dec_la_LIBTOOLFLAGS = --tag=disable-static
More information about the Gstreamer-commits
mailing list