tests: fix linking waylandsink example with the gstwayland library

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.
This commit is contained in:
George Kiagiadakis 2015-11-22 13:08:35 +01:00
parent 5be46607bb
commit 0b97b89575

View 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