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:
parent
3341d5346e
commit
8d425ed446
|
@ -360,7 +360,7 @@ if have_gobject
|
|||
libharfbuzz_gobject_dep = declare_dependency(
|
||||
link_with: libharfbuzz_gobject,
|
||||
include_directories: incsrc,
|
||||
sources: hb_gen_files_gir,
|
||||
sources: build_gir ? hb_gen_files_gir : hb_gobject_sources,
|
||||
dependencies: deps)
|
||||
|
||||
pkgmod.generate(libharfbuzz_gobject,
|
||||
|
|
Loading…
Reference in New Issue