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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]