From 40e836e5eb925cd757cb97de6d8f20b7abc8b56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 19 May 2015 10:57:42 +0200 Subject: doc: conditional linking for scanner Add x11 library only if it is enabled. https://bugzilla.gnome.org/show_bug.cgi?id=749018 --- docs/reference/plugins/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docs') 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) \ -- cgit v1.2.1