summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-09-21 15:53:52 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-09-28 14:07:49 -0400
commit837f1bae095f90c662fdc51fd39a0eeb2bb8f850 (patch)
tree0d24297bf607adb4c6a44b960f693b51b65e2a75 /docs
parent47ba8cfcb857d62f15f4df58d5d5c7bd5088a107 (diff)
downloadpango-837f1bae095f90c662fdc51fd39a0eeb2bb8f850.tar.gz
Fix docs build on Ubuntu
I'm guessing that Ubuntu has broken libtool by not automatically adding dependent libraries from the .la file...
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 9e5b6062..28f76263 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -57,13 +57,15 @@ INCLUDES = \
$(FREETYPE_CFLAGS) \
$(X_CFLAGS)
-# libpangoxft.la and/or libpangocairo.la pull in libpango.la
-# and libpangoft2.la;
# We're assuming here that we'll only regenerate the
# HTML docs on Unix. We don't get introspection on Win32
# specific types, but that isn't a big deal.
-GTKDOC_LIBS =
+GTKDOC_LIBS = $(top_builddir)/pango/libpango-1.0.la
+
+if HAVE_FREETYPE
+GTKDOC_LIBS += $(top_builddir)/pango/libpangoft2-1.0.la
+endif
if HAVE_XFT
GTKDOC_LIBS += $(top_builddir)/pango/libpangoxft-1.0.la