On 01.10.2014 15:11, Ján Tomko wrote:
This lets me build against an uninstalled source tree without
libtool.
---
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 20f173b..88e431b 100644
--- a/src/libvirt-lxc.pc.in
+++ b/src/libvirt-lxc.pc.in
@@ -4,7 +4,7 @@
prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
-libdir=@abs_top_builddir@/src
+libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
diff --git a/src/libvirt-qemu.pc.in b/src/libvirt-qemu.pc.in
index 1e2cadf..ed1f68a 100644
--- a/src/libvirt-qemu.pc.in
+++ b/src/libvirt-qemu.pc.in
@@ -4,7 +4,7 @@
prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
-libdir=@abs_top_builddir@/src
+libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
diff --git a/src/libvirt.pc.in b/src/libvirt.pc.in
index fa798cf..c2bdbb2 100644
--- a/src/libvirt.pc.in
+++ b/src/libvirt.pc.in
@@ -4,7 +4,7 @@
prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
-libdir=@abs_top_builddir@/src
+libdir=@abs_top_builddir(a)/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
ACK
Michal