On 05/28/2012 02:28 AM, Daniel P. Berrange wrote:
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.
Thanks; pushed.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org