doc: conditional linking for scanner

Add x11 library only if it is enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=749018
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-05-19 10:57:42 +02:00
parent f895c07174
commit 40e836e5eb

View file

@ -87,9 +87,18 @@ INCLUDES = \
$(GST_CFLAGS) \
$(NULL)
GTKDOC_LIBS = \
gtkdoc_vaapi_libs = \
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-$(GST_API_VERSION).la \
$(NULL)
if USE_X11
gtkdoc_vaapi_libs += \
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-x11-$(GST_API_VERSION).la \
$(NULL)
endif
GTKDOC_LIBS = \
$(gtkdoc_vaapi_libs) \
$(top_builddir)/gst/vaapi/libgstvaapi.la \
$(GLIB_LIBS) \
$(GST_LIBS) \