summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2015-11-22 13:08:35 +0100
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2015-11-22 13:08:35 +0100
commit0b97b895755326bb9bdc9a136b474aba95bd818b (patch)
tree9bdfdee3ae2ba460d34fabfaf8fef01bee237941 /tests
parent5be46607bb5020259cf733505fb77be38a3a5b60 (diff)
downloadgstreamer-plugins-bad-0b97b895755326bb9bdc9a136b474aba95bd818b.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/waylandsink/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/waylandsink/Makefile.am b/tests/examples/waylandsink/Makefile.am
index 4a6649e21..2343d5c5a 100644
--- a/tests/examples/waylandsink/Makefile.am
+++ b/tests/examples/waylandsink/Makefile.am
@@ -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