Don't declare dependency on freetype in harfbuzz.pc

See comments.
This commit is contained in:
Behdad Esfahbod 2015-08-18 15:55:09 +01:00
parent 2c8b3b2e53
commit ddd6bf12f1
1 changed files with 6 additions and 1 deletions

View File

@ -149,7 +149,12 @@ endif
if HAVE_FREETYPE if HAVE_FREETYPE
HBCFLAGS += $(FREETYPE_CFLAGS) HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS += $(FREETYPE_LIBS) 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 HBSOURCES += hb-ft.cc
HBHEADERS += hb-ft.h HBHEADERS += hb-ft.h
endif endif