mpeg2dec: link to gstvideo

Fix compilation by adding the right include directories and linking to the video
library.
This commit is contained in:
Wim Taymans 2009-05-12 20:24:02 +02:00 committed by Wim Taymans
parent f6f09cbb0a
commit 707d2fceae

View file

@ -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