examples: Fix encodebin example CFLAGS and LDFLAGS
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 18 Dec 2010 19:47:00 +0000 (20:47 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 18 Dec 2010 19:47:00 +0000 (20:47 +0100)
Previously it would only succeed to link if a new enough
libgstpbutils-0.10 was installed in the default library
search path.

tests/examples/encoding/Makefile.am

index 3e95e8a..2bcc902 100644 (file)
@@ -5,7 +5,8 @@ EXTRA_DIST = gstcapslist.h
 
 noinst_PROGRAMS = $(examples)
 
-LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la\
-       -lgstpbutils-@GST_MAJORMINOR@
+LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_MAJORMINOR@.la \
        $(GST_LIBS)
-AM_CFLAGS = -I$(top_builddir)/gst-libs $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
+AM_CFLAGS = -I$(top_builddir)/gst-libs \
+       $(GST_PLUGINS_BASE_CFLAGS) \
+       $(GST_CFLAGS)