examples: gl: sdl: link to the right in-tree libgstvideo
https://bugzilla.gnome.org/show_bug.cgi?id=796082
diff --git a/tests/examples/gl/sdl/Makefile.am b/tests/examples/gl/sdl/Makefile.am
index dd57509..7600c07 100644
--- a/tests/examples/gl/sdl/Makefile.am
+++ b/tests/examples/gl/sdl/Makefile.am
@@ -16,7 +16,7 @@
$(SDL_CFLAGS)
sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
- -lgstvideo-$(GST_API_VERSION)
+ $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la
sdlshare2_SOURCES = sdlshare2.c
@@ -29,6 +29,6 @@
$(SDL_CFLAGS)
sdlshare2_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
- -lgstvideo-$(GST_API_VERSION)
+ $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la
endif