diff --git a/src/Makefile.am b/src/Makefile.am index 99168c6b7..81eb4c92e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -465,7 +465,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) INTROSPECTION_SCANNER_ENV = CC="$(CC)" HarfBuzz-0.0.gir: libharfbuzz.la libharfbuzz-gobject.la -HarfBuzz_0_0_gir_INCLUDES = GObject-2.0 +HarfBuzz_0_0_gir_INCLUDES = GObject-2.0 freetype2-2.0 HarfBuzz_0_0_gir_CFLAGS = \ $(INCLUDES) \ $(HBCFLAGS) \ diff --git a/src/meson.build b/src/meson.build index affb40fdf..831bc9d26 100644 --- a/src/meson.build +++ b/src/meson.build @@ -674,7 +674,7 @@ if have_gobject nsversion: '0.0', identifier_prefix: 'hb_', symbol_prefix: ['hb', 'hb_gobject'], - includes: ['GObject-2.0'], + includes: ['GObject-2.0', 'freetype2-2.0'], export_packages: ['harfbuzz-gobject'], header: 'hb-gobject.h', install: true,