From a9b979d45f38c592a46106a86b37d1c6c83c0be4 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 8 Jun 2011 11:33:07 +0200 Subject: [PATCH] examples: don't link testchannels example with system libgstaudio The testchannels audio test program is using -lgstaudio-0.10 to link with libgstaudio which won't use the gstaudio library that was just built but the one from the system. This is an issue since it means we won't be testing the code from the current source tree, and it also breaks the build when building on a system which don't have a libgstaudio yet. https://bugzilla.gnome.org/show_bug.cgi?id=652100 --- tests/examples/audio/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/examples/audio/Makefile.am b/tests/examples/audio/Makefile.am index f4a844abe6..e0cc5ef0d0 100644 --- a/tests/examples/audio/Makefile.am +++ b/tests/examples/audio/Makefile.am @@ -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_LIBS)