examples: Link against proper libgstaudio
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 3 Jun 2011 09:48:43 +0000 (11:48 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 3 Jun 2011 17:28:32 +0000 (19:28 +0200)
It was previously attempting to link against the non-local one.

tests/examples/audio/Makefile.am

index f4a844a..d6a975d 100644 (file)
@@ -2,5 +2,6 @@
 noinst_PROGRAMS = testchannels
 testchannels_SOURCES = testchannels.c
 testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-testchannels_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_LIBS)
+testchannels_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
+       $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS)