[meson] fix generating introspection

Only libharfbuzz_gobject is introspectable, not libharfbuzz. Therefore,
it makes no sense to target the latter for introspection: it should
instead be listed as a dependency.
This commit is contained in:
Tom Schoonjans 2020-08-12 06:40:23 +02:00 committed by ebraminio
parent 7bffb5d7ba
commit eea9b59fc5
1 changed files with 2 additions and 1 deletions

View File

@ -646,8 +646,9 @@ if have_gobject
if build_gir
conf.set('HAVE_INTROSPECTION', 1)
hb_gen_files_gir = gnome.generate_gir(libharfbuzz, libharfbuzz_gobject,
hb_gen_files_gir = gnome.generate_gir(libharfbuzz_gobject,
sources: [hb_headers, hb_sources, hb_gobject_headers, hb_gobject_sources, enum_h],
dependencies: libharfbuzz_dep,
namespace: 'HarfBuzz',
nsversion: '0.0',
identifier_prefix: 'hb_',