From 707d2fceae24389f9401db245064988d5273925c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 12 May 2009 20:24:02 +0200 Subject: [PATCH] mpeg2dec: link to gstvideo Fix compilation by adding the right include directories and linking to the video library. --- ext/mpeg2dec/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/mpeg2dec/Makefile.am b/ext/mpeg2dec/Makefile.am index 816dda8615..376336c233 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