Re: [libvirt] fix build failure with --disable-shared

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

 



Il giorno gio, 07/01/2010 alle 21.14 +0100, Jim Meyering ha scritto:
> 
> The change below reverts 8838ee39ab1c2bb7fffe93bfda220692664e8be6,
> so Diego, if your goal (with the reverted change) was more than to
> avoid seemingly-unnecessary work, please tell us what it was. 

Well, to put it simply: you *cannot* both have the Python extension
*and* disable shared libraries.

--disable-shared tells libtool not to build any kind of shared object
for the project; Python extensions are shared objects _only_.

While you could avoid building libvirt.so (and just have libvirt.a) you
cannot get Python extensions by just building libvirtmod.a.

So basically --disable-shared --with-python would just produce an
unusable output without my change, and produce a proper error condition
with.

-- 
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]