tests: use right _LIBS variable for gst-plugins-base libs
[platform/upstream/gstreamer.git] / tests / Makefile.am
index a4a47d9..8b3c6ab 100644 (file)
@@ -1,9 +1,20 @@
-noinst_PROGRAMS = test-cleanup
+noinst_PROGRAMS = test-cleanup test-reuse
 
 INCLUDES = -I$(top_srcdir) -I$(srcdir)
 
 AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
 AM_LDFLAGS = \
        $(GST_LIBS) \
-       $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_MAJORMINOR@.la
+       $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
 
+if HAVE_CHECK
+SUBDIRS_CHECK = check
+else
+SUBDIRS_CHECK =
+endif
+
+SUBDIRS =                      \
+       $(SUBDIRS_CHECK)
+
+DIST_SUBDIRS =                         \
+       check