Don't declare dependency on freetype in harfbuzz.pc
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 18 Aug 2015 14:55:09 +0000 (15:55 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 18 Aug 2015 14:55:09 +0000 (15:55 +0100)
See comments.

src/Makefile.am

index 132683a..856aae6 100644 (file)
@@ -149,7 +149,12 @@ endif
 if HAVE_FREETYPE
 HBCFLAGS += $(FREETYPE_CFLAGS)
 HBLIBS   += $(FREETYPE_LIBS)
-HBDEPS   += $(FREETYPE_DEPS)
+# XXX
+# The following creates a recursive dependency on FreeType if FreeType is
+# built with HarfBuzz support enabled.  Newer pkg-config handles that just
+# fine but pkg-config 0.26 as shipped in Ubuntu 14.04 crashes.  Remove
+# in a year or two, or otherwise work around it...
+#HBDEPS   += $(FREETYPE_DEPS)
 HBSOURCES += hb-ft.cc
 HBHEADERS += hb-ft.h
 endif