examples: Fix libgstvideo linking
authorEdward Hervey <edward@centricular.com>
Mon, 5 Nov 2018 11:00:55 +0000 (12:00 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 5 Nov 2018 11:00:55 +0000 (12:00 +0100)
Use the local libgstvideo (and not the system wide one)

tests/examples/overlaycomposition/Makefile.am

index f9ecdc3..e4e3e6f 100644 (file)
@@ -2,4 +2,4 @@ noinst_PROGRAMS = overlaycomposition
 
 overlaycomposition_SOURCES = overlaycomposition.c
 overlaycomposition_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
-overlaycomposition_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS) $(GIO_LIBS) $(LIBM)
+overlaycomposition_LDADD = $(GST_PLUGINS_BASE_LIBS) $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_LIBS) $(GIO_LIBS) $(LIBM)