mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
src: add missing libvirt-admin.pc.in for local usage
When using the 'run' script, we point pkg-config to files in $BUILD/src, which resolve to the local build tree. Unfortunately we forgot a libvirt-admin.pc.in, so the run script was not taking effect for the admin APIs. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
1 parent
70126914fb
commit
54e853c864
2 files changed
+20
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Dummy pkg-config file to allow lang bindings
|
||||
# to build against a libvirt source tree eg
|
||||
# export PKG_CONFIG_PATH=/path/to/libvirt/git/src
|
||||
|
||||
prefix=@abs_top_builddir@
|
||||
exec_prefix=@abs_top_builddir@
|
||||
libdir=@abs_top_builddir@/src
|
||||
includedir=@abs_top_builddir@/include
|
||||
source_includedir=@abs_top_srcdir@/include
|
||||
datarootdir=@abs_top_builddir@
|
||||
|
||||
libvirt_admin_api=@abs_top_builddir@/docs/libvirt-admin-api.xml
|
||||
|
||||
Name: libvirt-admin
|
||||
Version: @VERSION@
|
||||
Description: libvirt admin library
|
||||
Requires:
|
||||
Libs: -L${libdir} -lvirt-admin
|
||||
Cflags: -I${includedir} -I${source_includedir}
|
||||
@@ -1110,6 +1110,7 @@ endif
|
||||
run_pkg_config_files = [
|
||||
'libvirt-lxc.pc.in',
|
||||
'libvirt-qemu.pc.in',
|
||||
'libvirt-admin.pc.in',
|
||||
'libvirt.pc.in',
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user