tests: Fix linking order.
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 11 Dec 2009 14:16:26 +0000 (15:16 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 11 Dec 2009 14:20:35 +0000 (15:20 +0100)
This ensures that "make check" will run with the local libraries and not
the system-wide ones

tests/check/Makefile.am

index 793bc11..2473c34 100644 (file)
@@ -24,7 +24,7 @@ noinst_HEADERS =
 
 TESTS = $(check_PROGRAMS)
 
-AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) $(GST_OPTION_CFLAGS) -I$(top_srcdir)
-LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) $(top_builddir)/ges/libges-@GST_MAJORMINOR@.la -lges-@GST_MAJORMINOR@
+AM_CFLAGS =  -I$(top_srcdir) $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) $(GST_OPTION_CFLAGS)
+LDADD = $(top_builddir)/ges/libges-@GST_MAJORMINOR@.la -lges-@GST_MAJORMINOR@ $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) 
 
 EXTRA_DIST = #gst-plugins-bad.supp