diff options
author | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-05-19 10:57:42 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> | 2015-05-20 18:03:44 +0200 |
commit | 40e836e5eb925cd757cb97de6d8f20b7abc8b56b (patch) | |
tree | e1b25465dd6afd386d02e6d4dd92e1669115665e /docs | |
parent | f895c07174f9baabfcf03b8581cacfac6616ee0f (diff) |
doc: conditional linking for scanner
Add x11 library only if it is enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=749018
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/plugins/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/reference/plugins/Makefile.am b/docs/reference/plugins/Makefile.am index d3e20404..d9335084 100644 --- a/docs/reference/plugins/Makefile.am +++ b/docs/reference/plugins/Makefile.am @@ -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) \ |