From 3adcf398a02f3b647d149b65e4dfd4506b4cc73e Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Thu, 2 Jul 2020 16:41:22 +0000 Subject: [PATCH] meson: Make Requires in .pc files match autotools Libreoffice tries to use only harfbuzz-icu.pc and assumes this includes -lharfbuzz. --- src/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/meson.build b/src/meson.build index 72f6c9f9b..596c8842a 100644 --- a/src/meson.build +++ b/src/meson.build @@ -509,6 +509,7 @@ pkgmod.generate(libharfbuzz, pkgmod.generate(libharfbuzz_subset, description: 'HarfBuzz font subsetter', + requires: ['harfbuzz'], subdirs: [meson.project_name()], version: meson.project_version(), ) @@ -540,6 +541,7 @@ if have_icu and not have_icu_builtin pkgmod.generate(libharfbuzz_icu, description: 'HarfBuzz text shaping library ICU integration', + requires: ['harfbuzz'], subdirs: [meson.project_name()], version: meson.project_version(), ) @@ -652,6 +654,7 @@ if have_gobject pkgmod.generate(libharfbuzz_gobject, description: 'HarfBuzz text shaping library GObject integration', + requires: ['harfbuzz', 'glib-2.0', 'gobject-2.0'], subdirs: [meson.project_name()], version: meson.project_version(), )