summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2015-07-28 09:21:19 -0500
committerJeremy White <jwhite@codeweavers.com>2015-07-28 10:48:57 -0500
commitbf69423ffc0294bd782e110315169bd18edaa548 (patch)
tree51eeb3f0c0c795788cc5885dee68c3fd487288aa
parentf808f09d05ca0d3102f49524594643b53f8fda36 (diff)
Add the gtk libraries to the gtk-scandoc link line.
This prevents a compile error on Debian Jessie, when building from git. This is fairly subtle, and Debian specific. It only happens when you use autoreconf to generate a new libtool script. Debian patches that script to require an explicit setting to link with all dependent libraries. It should be harmless on other distros, and it does save us Debian guys some hassle.
-rw-r--r--doc/reference/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/Makefile.am b/doc/reference/Makefile.am
index 0e4d5b3..ed94138 100644
--- a/doc/reference/Makefile.am
+++ b/doc/reference/Makefile.am
@@ -55,7 +55,7 @@ IGNORE_HFILES= \
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
GTKDOC_CFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src $(SPICE_GLIB_CFLAGS) $(SPICE_GTK_CFLAGS) $(COMMON_CFLAGS)
-GTKDOC_LIBS = $(top_builddir)/src/libspice-client-glib-2.0.la $(top_builddir)/src/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la
+GTKDOC_LIBS = $(top_builddir)/src/libspice-client-glib-2.0.la $(top_builddir)/src/libspice-client-gtk-$(SPICE_GTK_API_VERSION).la $(GTK_LIBS)
include $(top_srcdir)/gtk-doc.make