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

Re: [libvirt] [PATCH] build: silence libtool during tests



On Fri, May 25, 2012 at 01:25:46PM -0600, Eric Blake wrote:
> Libtool is picky about linking against a module library (aka a .so);
> giving lots of warnings like this in the tests directory:
> 
>   CCLD   networkxml2argvtest
> 
> *** Warning: Linking the executable networkxml2argvtest against the loadable module
> *** libvirt_driver_network.so is not portable!
> 
> Fix that by splitting things into a convenience library which can
> be used directly by the tests, and making the real .so just wrap
> the convenience library.
> 
> Based on a suggestion by Daniel P. Berrange.

ACK, glad that worked out well.

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 :|


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