meson: pass subdirs to pkgconfig.generate()

This commit is contained in:
Mathieu Duponchelle 2018-06-05 18:19:29 +02:00 committed by Ebrahim Byagowi
parent 484313ff36
commit 29c47d8eb5
1 changed files with 3 additions and 0 deletions

View File

@ -204,11 +204,13 @@ libharfbuzz_subset = library('harfbuzz-subset', hb_subset_sources,
pkgmod.generate(libharfbuzz, pkgmod.generate(libharfbuzz,
description: 'HarfBuzz text shaping library', description: 'HarfBuzz text shaping library',
subdirs: [meson.project_name()],
version: meson.project_version(), version: meson.project_version(),
) )
pkgmod.generate(libharfbuzz_subset, pkgmod.generate(libharfbuzz_subset,
description: 'HarfBuzz font subsetter', description: 'HarfBuzz font subsetter',
subdirs: [meson.project_name()],
version: meson.project_version(), version: meson.project_version(),
) )
@ -264,6 +266,7 @@ if conf.get('HAVE_GOBJECT', 0) == 1
pkgmod.generate(libharfbuzz_gobject, pkgmod.generate(libharfbuzz_gobject,
description: 'HarfBuzz text shaping library GObject integration', description: 'HarfBuzz text shaping library GObject integration',
subdirs: [meson.project_name()],
version: meson.project_version(), version: meson.project_version(),
) )
endif endif