mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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>
This commit is contained in:
@ -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),
|
||||
|
||||
@ -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),
|
||||
|
||||
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user