meson: Fix harfbuzz-gobject builds without introspection

Make the `sources:` field reflect the items depending on whether introspection
is being built
This commit is contained in:
Chun-wei Fan 2020-03-13 12:15:28 +08:00 committed by Ebrahim Byagowi
parent 3341d5346e
commit 8d425ed446
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ if have_gobject
libharfbuzz_gobject_dep = declare_dependency( libharfbuzz_gobject_dep = declare_dependency(
link_with: libharfbuzz_gobject, link_with: libharfbuzz_gobject,
include_directories: incsrc, include_directories: incsrc,
sources: hb_gen_files_gir, sources: build_gir ? hb_gen_files_gir : hb_gobject_sources,
dependencies: deps) dependencies: deps)
pkgmod.generate(libharfbuzz_gobject, pkgmod.generate(libharfbuzz_gobject,