mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 10:05:31 +00:00
meson: src: configure pkg-config files used by run script
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
7bda9ea375
commit
33ed543160
@ -118,9 +118,6 @@ AC_CONFIG_FILES([\
|
||||
libvirt-qemu.pc \
|
||||
libvirt-lxc.pc \
|
||||
libvirt-admin.pc \
|
||||
src/libvirt.pc \
|
||||
src/libvirt-qemu.pc \
|
||||
src/libvirt-lxc.pc \
|
||||
libvirt.spec mingw-libvirt.spec \
|
||||
po/Makefile \
|
||||
examples/Makefile \
|
||||
|
@ -977,3 +977,23 @@ if pdwtags_prog.found() and cc.get_id() != 'clang'
|
||||
)
|
||||
endforeach
|
||||
endif
|
||||
|
||||
# configure pkg-config files for run script
|
||||
run_pkg_config_files = [
|
||||
'libvirt-lxc.pc.in',
|
||||
'libvirt-qemu.pc.in',
|
||||
'libvirt.pc.in',
|
||||
]
|
||||
|
||||
run_pkg_config_conf = configuration_data()
|
||||
run_pkg_config_conf.set('VERSION', meson.project_version())
|
||||
run_pkg_config_conf.set('abs_top_builddir', meson.build_root())
|
||||
run_pkg_config_conf.set('abs_top_srcdir', meson.source_root())
|
||||
|
||||
foreach file : run_pkg_config_files
|
||||
configure_file(
|
||||
input: file,
|
||||
output: '@BASENAME@',
|
||||
configuration: run_pkg_config_conf,
|
||||
)
|
||||
endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user