[libvirt] [libvirt-python PATCH] setup: Make libvirt API XML path configurable

Eric Blake eblake at redhat.com
Mon Mar 24 17:39:55 UTC 2014


On 03/24/2014 03:49 AM, Daniel P. Berrange wrote:

>>>>>> NACK, setting pkg-config already takes care of this. See the
>>>>>> build-many.sh scrpit attached to this mail which demonstrates
>>>>>> use of PKG_CONFIG_PATH to build against every version of libvirt
>>>>>> back to 0.9.11
>>
>> Is there a way to point pkg-config at an in-tree uninstalled libvirt?
> 
> That's not going to do anything because the .pc file will still point
> to the install location. You could however create a completely separate
> libvirt.pc file just for in-tree usage that pointed to stuff in the
> $build_dir, and then set PKG_CONFNIG_PATH to point to the directory
> containing that .pc file instead of the real one.

Interesting idea; I'll play with it, and if I get it working for my
setup, I'll post a patch to the README that demonstrates a sample .pc
file for others to tweak.

-- 
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: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140324/332764ec/attachment-0001.sig>


More information about the libvir-list mailing list