[libvirt] [PATCH] src: fix pkg-config path for API XML files
by Daniel P. Berrangé
The API XML files are generated files, so live in the build dir not the
source dir.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/libvirt-lxc.pc.in | 2 +-
src/libvirt-qemu.pc.in | 2 +-
src/libvirt.pc.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libvirt-lxc.pc.in b/src/libvirt-lxc.pc.in
index b9e131954b..27e3de4244 100644
--- a/src/libvirt-lxc.pc.in
+++ b/src/libvirt-lxc.pc.in
@@ -7,7 +7,7 @@ exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
source_includedir=@abs_top_srcdir@/include
-datarootdir=@abs_top_srcdir@
+datarootdir=@abs_top_builddir@
libvirt_lxc_api=@datadir(a)/docs/libvirt-lxc-api.xml
diff --git a/src/libvirt-qemu.pc.in b/src/libvirt-qemu.pc.in
index 173ec5c50e..3eb9ad4bc1 100644
--- a/src/libvirt-qemu.pc.in
+++ b/src/libvirt-qemu.pc.in
@@ -7,7 +7,7 @@ exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
source_includedir=@abs_top_srcdir@/include
-datarootdir=@abs_top_srcdir@
+datarootdir=@abs_top_builddir@
libvirt_qemu_api=@datadir(a)/docs/libvirt-qemu-api.xml
diff --git a/src/libvirt.pc.in b/src/libvirt.pc.in
index 9fe2f1f694..6ff1ce6272 100644
--- a/src/libvirt.pc.in
+++ b/src/libvirt.pc.in
@@ -7,7 +7,7 @@ exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
source_includedir=@abs_top_srcdir@/include
-datarootdir=@abs_top_srcdir@
+datarootdir=@abs_top_builddir@
libvirt_api=@datadir(a)/docs/libvirt-api.xml
--
2.23.0
4 years, 11 months
[libvirt] [PATCH 0/2] qemu: blockcopy: fix regression with block devices
by Peter Krempa
Peter Krempa (2):
qemu: blockcopy: Report error on image format detection failure
qemu: blockcopy: Fix conditions when virStorageSource should be
initialized
src/qemu/qemu_driver.c | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
--
2.23.0
4 years, 11 months