Fix build-time pkg-config files in VPATH

The pkg-config files in src/ make it pretty easy to build language
bindings against an uninstalled libvirt, however, they don't work with
VPATH builds. The reason is that all *-api.xml files are generated in
source rather than build directory.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2014-10-07 15:22:52 +02:00
parent ebc0526396
commit b9f1f46470
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir@/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
datarootdir=@abs_top_srcdir@
libvirt_lxc_api=@datadir@/docs/libvirt-lxc-api.xml

View File

@ -6,7 +6,7 @@ prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir@/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
datarootdir=@abs_top_srcdir@
libvirt_qemu_api=@datadir@/docs/libvirt-qemu-api.xml

View File

@ -6,7 +6,7 @@ prefix=@abs_top_builddir@
exec_prefix=@abs_top_builddir@
libdir=@abs_top_builddir@/src/.libs
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
datarootdir=@abs_top_srcdir@
libvirt_api=@datadir@/docs/libvirt-api.xml