video: fix build in gst-uninstalled setup
authorJosep Torra <n770galaxy@gmail.com>
Sun, 28 Sep 2014 16:03:09 +0000 (18:03 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Sun, 28 Sep 2014 16:03:09 +0000 (18:03 +0200)
Include the base video lib appropriately and resort all of them as
thaytan suggested.

gst-libs/gst/video/Makefile.am

index c60d5b1..2d16768 100644 (file)
@@ -14,10 +14,13 @@ libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \
        -I$(top_builddir)/gst-libs \
        $(GST_CFLAGS) $(ORC_CFLAGS) \
        $(GST_PLUGINS_BASE_CFLAGS) \
-       $(GST_BASE_CFLAGS)
+       $(GST_BASE_CFLAGS) \
+       $(GST_VIDEO_CFLAGS)
+
+libgstbadvideo_@GST_API_VERSION@_la_LIBADD = \
+       $(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la \
+       $(GST_VIDEO_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) $(LIBM)
 
-libgstbadvideo_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(ORC_LIBS) -lgstvideo-$(GST_API_VERSION)\
-       $(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la $(LIBM)
 libgstbadvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
 
 noinst_HEADERS = gstvideoaggregatorpad.h gstvideoaggregator.h