tests: fix linking waylandsink example with the gstwayland library
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Sun, 22 Nov 2015 12:08:35 +0000 (13:08 +0100)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Sun, 22 Nov 2015 12:08:35 +0000 (13:08 +0100)
First, use top_builddir, otherwise it fails in out-of-source builds.
Second, link to the libtool archive directly to let make understand
the dependency.

tests/examples/waylandsink/Makefile.am

index 4a6649e21e3409ba246932d68e5d1fe451c67d0e..2343d5c5a583989d5896de03126df5b804cf38a0 100644 (file)
@@ -6,4 +6,4 @@ gtkwaylandsink_CFLAGS=-I$(top_srcdir)/gst-libs -I$(top_builddir)/gst-libs \
        $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(GTK3_CFLAGS)
 gtkwaylandsink_LDADD=$(GTK3_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
        -lgstvideo-$(GST_API_VERSION) \
-       -L$(top_srcdir)/gst-libs/gst/wayland -lgstwayland-$(GST_API_VERSION)
+       $(top_builddir)/gst-libs/gst/wayland/libgstwayland-$(GST_API_VERSION).la