examples: gl: sdl: link to the right in-tree libgstvideo
authorPierre Labastie <pierre.labastie@neuf.fr>
Sun, 13 May 2018 22:31:22 +0000 (23:31 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 13 May 2018 22:31:22 +0000 (23:31 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=796082

tests/examples/gl/sdl/Makefile.am

index dd57509..7600c07 100644 (file)
@@ -16,7 +16,7 @@ sdlshare_CFLAGS= \
        $(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 @@ sdlshare2_CFLAGS= \
        $(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