https://bugzilla.gnome.org/show_bug.cgi?id=729352
libgstvaapi_drm_@GST_API_VERSION@_la_LIBADD = \
$(GLIB_LIBS) \
+ $(GST_LIBS) \
$(UDEV_LIBS) \
$(DRM_LIBS) \
$(LIBVA_DRM_LIBS) \
libgstvaapi_x11_@GST_API_VERSION@_la_LIBADD = \
$(GLIB_LIBS) \
+ $(GST_LIBS) \
$(X11_LIBS) \
$(XRANDR_LIBS) \
$(XRENDER_LIBS) \
libgstvaapi_glx_@GST_API_VERSION@_la_LIBADD = \
$(GLIB_LIBS) \
+ $(GST_LIBS) \
$(GST_BASE_LIBS) \
$(GST_VIDEO_LIBS) \
+ $(X11_LIBS) \
$(GL_LIBS) \
$(LIBVA_GLX_LIBS) \
libgstvaapi-x11-$(GST_API_VERSION).la \
+ libgstvaapi-$(GST_API_VERSION).la \
$(DLOPEN_LIBS) \
$(NULL)
libgstvaapi_wayland_@GST_API_VERSION@_la_LIBADD = \
$(GLIB_LIBS) \
+ $(GST_LIBS) \
+ $(GST_VIDEO_LIBS) \
$(WAYLAND_LIBS) \
$(LIBVA_WAYLAND_LIBS) \
libgstvaapi-$(GST_API_VERSION).la \
-I$(top_builddir)/gst-libs \
$(NULL)
-libgstvaapi_LIBS =
+libgstvaapi_LIBS = \
+ $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-$(GST_API_VERSION).la
if USE_DRM
libgstvaapi_LIBS += \
if USE_X11
libgstvaapi_LIBS += \
+ $(X11_LIBS) \
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_API_VERSION).la
endif