[libvirt] [PATCH] build: silence libtool warning

Eric Blake eblake at redhat.com
Fri May 25 17:50:03 UTC 2012


On 05/25/2012 10:34 AM, Daniel P. Berrange wrote:

>> However, I got stumped by the next round of warnings:
>>
>>   CCLD   qemuxml2xmltest
>>
>> *** Warning: Linking the executable qemuxml2xmltest against the loadable module
>> *** libvirt_driver_qemu.so is not portable! 
>>
>> Anyone have a clue on that one?  Would a convenience library be the key?
> 
> Hmm, perhaps if we built libvirt_driver_qemu_impl.la and then
> make both libvirt_driver_qemu.so and qemuxml2xmltest link to
> that convenience library, it'd be happy.

Indeed, that appears to work.  I'll post another patch soon.

> 
>>
>>  src/Makefile.am   |   28 ++++++++++++++++++----------
>>  tests/Makefile.am |    4 ++--
>>  2 files changed, 20 insertions(+), 12 deletions(-)
> 
> ACK

Meanwhile, I've pushed this.

-- 
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/20120525/546f5fb0/attachment-0001.sig>


More information about the libvir-list mailing list