[folks] Add documented libraries to LDFLAGS in the documentation Makefile.am



commit e3ff05da1464e1ea2214293a0255bd0e71f60d85
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sun Dec 12 17:06:38 2010 +0000

    Add documented libraries to LDFLAGS in the documentation Makefile.am
    
    gtkdoc-scangobj expects to have the libraries it's linking its scanner program
    to present in LDFLAGS. gtk-doc.make normally does this automatically for
    normal gtk-doc-enabled projects, but we need to do it manually.

 docs/Makefile.am |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index feea644..0ad366f 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -41,6 +41,17 @@ valadoc_flags = \
 	--package-version $(PACKAGE_VERSION) \
 	$(NULL)
 
+# We need to modify LDFLAGS so that gtkdoc-scangobj can find the symbols when
+# it comes to link its scanning program. This is what gtk-doc.make does for
+# normal gtk-doc-enabled projects.
+# FIXME: An enhancement request has been filed against valadoc for it to do this
+# automatically for us: https://bugzilla.gnome.org/show_bug.cgi?id=637090
+LDFLAGS = \
+	$(abs_top_builddir)/folks/libfolks.la \
+	$(abs_top_builddir)/backends/telepathy/lib/libfolks-telepathy.la \
+	@LDFLAGS@ \
+	$(NULL)
+
 # folks documentation
 folks_doc_files = $(top_srcdir)/folks/*.vala
 folks_doc_deps = \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]