mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
ebc0526396
commit
b9f1f46470
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue