/pidgin/main: f746c4c8b31f: Fix building doc for Finch.

Mark Doliner <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: f746c4c8b31fea39d3770e037c3b53efa8bb6fdc
Author:	 Mark Doliner <[email protected]>
Date:	 2014-10-25 09:46 -0700
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/f746c4c8b31f

Description:

Fix building doc for Finch.

Without this change I get these error when running 'make install' from
doc/reference/finch/:

  DOC   Preparing build
  DOC   Scanning header files
  DOC   Introspecting gobjects
/usr/bin/ld: .libs/finch-scan.o: undefined reference to symbol 'gnt_button_get_type'
/home/dude/code/prefix/lib/libgnt.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Linking of scanner failed:
make: *** [scan-build.stamp] Error 1

diffstat:

 doc/reference/finch/Makefile.am |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git a/doc/reference/finch/Makefile.am b/doc/reference/finch/Makefile.am
--- a/doc/reference/finch/Makefile.am
+++ b/doc/reference/finch/Makefile.am
@@ -106,7 +106,8 @@ GTKDOC_LIBS = \
 	$(GLIB_LIBS) \
 	$(LIBXML_LIBS) \
 	$(GNT_LIBS) \
-	$(GSTREAMER_LIBS)
+	$(GSTREAMER_LIBS) \
+	$(top_builddir)/finch/libgnt/libgnt.la
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
 include $(top_srcdir)/gtk-doc.make
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.