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

Eric Blake eblake at redhat.com
Mon May 28 15:17:52 UTC 2012


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 at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120528/89104ea5/attachment-0001.sig>


More information about the libvir-list mailing list