mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:46:11 +00:00
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:
parent
f895c07174
commit
40e836e5eb
1 changed files with 10 additions and 1 deletions
|
@ -87,9 +87,18 @@ INCLUDES = \
|
||||||
$(GST_CFLAGS) \
|
$(GST_CFLAGS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
GTKDOC_LIBS = \
|
gtkdoc_vaapi_libs = \
|
||||||
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-$(GST_API_VERSION).la \
|
$(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 \
|
$(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 \
|
$(top_builddir)/gst/vaapi/libgstvaapi.la \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
|
|
Loading…
Reference in a new issue