[Libguestfs] When updating to HEAD today ...

Daniel P. Berrange berrange at redhat.com
Wed Aug 27 09:24:04 UTC 2014


On Tue, Aug 26, 2014 at 11:02:31PM +0100, Richard W.M. Jones wrote:
> 
> ... you may get a link failure until you run the following command:
> 
>   make -C v2v link.sh
> 
> Rich.
> 
> PS: Can someone explain why:
> 
> $ pkg-config --libs libvirt
> -lvirt -ldl -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 

Ewww, that's a bug. Libvirt should not be leaking any of those compiler
flags to the pkg-config file. It should have -lvirt at most

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libguestfs mailing list