[libvirt] [PATCH] Fix build-time pkg-config files in VPATH

Eric Blake eblake at redhat.com
Tue Oct 7 15:13:55 UTC 2014


On 10/07/2014 07:26 AM, Jiri Denemark wrote:
> 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 at 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(-)
> 

Looks like datarootdir feeds datadir, infodir, localedir, mandir, and
docdir; I don't think any of our code requires documentation to be
installed to run correctly, so even though we have a mix of data that is
generated in srcdir vs. generated in builddir, I agree that the data
most useful to language bindings is the stuff we build into srcdir.

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141007/ddf12ced/attachment-0001.sig>


More information about the libvir-list mailing list