examples: gl: sdl: link to the right in-tree libgstvideo

https://bugzilla.gnome.org/show_bug.cgi?id=796082
This commit is contained in:
Pierre Labastie 2018-05-13 23:31:22 +01:00 committed by Tim-Philipp Müller
parent b7e8d1657d
commit 65c987b495

View file

@ -16,7 +16,7 @@ sdlshare_CFLAGS= \
$(SDL_CFLAGS) $(SDL_CFLAGS)
sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \ sdlshare_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \ $(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 sdlshare2_SOURCES = sdlshare2.c
@ -29,6 +29,6 @@ sdlshare2_CFLAGS= \
$(SDL_CFLAGS) $(SDL_CFLAGS)
sdlshare2_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \ sdlshare2_LDADD= $(GST_LIBS) $(GL_LIBS) $(SDL_LIBS) \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \ $(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 endif