gl/tests/pipelines: add custom _CFLAGS and LDADD
authorMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 12:07:17 +0000 (23:07 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 31 Mar 2016 12:07:17 +0000 (23:07 +1100)
As is done everywhere else.

From what I can gather from make -C tests/check V=1 $(GST_PLUGINS_BAD_CFLAGS) is
required in order to find in-tree headers as well as srcdir != builddir
configurations.

tests/check/Makefile.am

index 3b166e501b948569add1d18c5d316092e1c30cdf..e27f31c4a9375af37ee66af624dd79668cbd90b0 100644 (file)
@@ -598,6 +598,14 @@ elements_glimagesink_LDADD = \
        $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
        $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)
 
+pipelines_simple_launch_lines_CFLAGS = \
+       $(GST_PLUGINS_BAD_CFLAGS) \
+       -DGST_USE_UNSTABLE_API \
+       $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
+
+pipelines_simple_launch_lines_LDADD = \
+       $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)
+
 libs_aggregator_LDADD = \
        $(top_builddir)/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la \
        $(GST_PLUGINS_BASE_LIBS) \