[gcr/tintou/meson-version: 1/2] meson: Use the library object to declare pkgconfig dependency chain
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/tintou/meson-version: 1/2] meson: Use the library object to declare pkgconfig dependency chain
- Date: Fri, 8 Apr 2022 11:06:59 +0000 (UTC)
commit 6b26cb36960fe8c627f0b1e49c07a43c31f0a3b7
Author: Corentin Noël <corentin noel collabora com>
Date: Fri Apr 8 12:47:56 2022 +0200
meson: Use the library object to declare pkgconfig dependency chain
Allows to always use the right dependency name.
gcr/meson.build | 2 +-
ui/meson.build | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gcr/meson.build b/gcr/meson.build
index c83641b..74a8e94 100644
--- a/gcr/meson.build
+++ b/gcr/meson.build
@@ -221,7 +221,7 @@ endif
# pkg-config file
pkgconfig.generate(gcr_base_lib,
subdirs: 'gcr-@0@'.format(gcr_major_version),
- requires: [ glib_dep, gio_dep, gobject_dep, p11kit_dep, 'gck-@0@'.format(gck_major_version) ],
+ requires: [ glib_dep, gio_dep, gobject_dep, p11kit_dep, gck_lib ],
description: 'GObject and GUI library for high level crypto parsing and display',
)
diff --git a/ui/meson.build b/ui/meson.build
index 32ee057..d5edd86 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -118,8 +118,8 @@ gcr_ui_pkgconf_deps = [
glib_dep,
gio_dep,
gobject_dep,
- 'gck-@0@'.format(gck_major_version),
- 'gcr-base-@0@'.format(gcr_major_version),
+ gck_lib,
+ gcr_base_lib,
gtk_dep,
]
pkgconfig.generate(gcr_ui_lib,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]