[sysprof/wip/issue49: 1/2] build: Pass libraries to pkgconfig.generate as a positional argument
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/issue49: 1/2] build: Pass libraries to pkgconfig.generate as a positional argument
- Date: Wed, 16 Sep 2020 09:48:40 +0000 (UTC)
commit 68c50ba8698115eeafd79318df064dad672ea553
Author: Simon McVittie <smcv debian org>
Date: Wed Sep 16 10:08:27 2020 +0100
build: Pass libraries to pkgconfig.generate as a positional argument
This allows Meson to associate the pkg-config module with the "main"
library that it represents, in an unambiguous way.
Signed-off-by: Simon McVittie <smcv debian org>
src/libsysprof-capture/meson.build | 2 +-
src/libsysprof-ui/meson.build | 2 +-
src/libsysprof/meson.build | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libsysprof-capture/meson.build b/src/libsysprof-capture/meson.build
index f3bc1c6..b30c0ac 100644
--- a/src/libsysprof-capture/meson.build
+++ b/src/libsysprof-capture/meson.build
@@ -64,7 +64,7 @@ libsysprof_capture_dep = declare_dependency(
if not meson.is_subproject()
pkgconfig.generate(
- libraries: [libsysprof_capture],
+ libsysprof_capture,
subdirs: [ sysprof_header_subdir ],
version: meson.project_version(),
name: 'sysprof-capture-@0@'.format(libsysprof_api_version),
diff --git a/src/libsysprof-ui/meson.build b/src/libsysprof-ui/meson.build
index bb3655f..0574ae6 100644
--- a/src/libsysprof-ui/meson.build
+++ b/src/libsysprof-ui/meson.build
@@ -109,7 +109,7 @@ libsysprof_ui_dep = declare_dependency(
)
pkgconfig.generate(
- libraries: [libsysprof_ui],
+ libsysprof_ui,
subdirs: [ sysprof_header_subdir ],
version: meson.project_version(),
name: 'sysprof-ui-@0@'.format(libsysprof_api_version),
diff --git a/src/libsysprof/meson.build b/src/libsysprof/meson.build
index a8ecaae..107970f 100644
--- a/src/libsysprof/meson.build
+++ b/src/libsysprof/meson.build
@@ -163,7 +163,7 @@ libsysprof_dep = declare_dependency(
)
pkgconfig.generate(
- libraries: [libsysprof],
+ libsysprof,
subdirs: [ sysprof_header_subdir ],
version: meson.project_version(),
name: 'sysprof-@0@'.format(libsysprof_api_version),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]