On 06/25/2014 10:59 AM, Peter Krempa wrote:
On 06/25/14 18:53, Eric Blake wrote:
> Thanks to Dan's recent work in libvirt.git, it is much easier to
> develop against uninstalled libvirt. Mention how.
>
> * README: More details.
>
> Signed-off-by: Eric Blake <eblake(a)redhat.com>
> ---
> README | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
ACK,
Thanks; pushed.
FYI: I'm also using this (but considered it hackish enough to not
publish as a formal patch):
$ echo /GNUmakefile >> .git/info/exclude
$ cat GNUmakefile
# My hidden wrapper to preset things that I like...
include Makefile
export LD_LIBRARY_PATH=/home/eblake/libvirt/src/.libs/
export PKG_CONFIG_PATH=/home/eblake/libvirt/src/
$
Now all I have to do is run 'python setup.py build' to build against
installed libvirt, vs. 'make' to build against development libvirt, at
least for my machine.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org