[libvirt] [PATCH] let "configure --disable-shared" work once again

Diego Elio “Flameeyes” Pettenò flameeyes at gmail.com
Fri Jan 8 11:18:52 UTC 2010


Il giorno ven, 08/01/2010 alle 12.12 +0100, Jim Meyering ha scritto:
> 
> 
> Using -shared in python/ would now be a little misleading,
> since it's useful only when building with --disable-shared,
> and python/ is no longer built with --disable-shared.

Not at all. It was needed to avoid building the static archive.

> 
> Technically, it need not be reverted, but reverting it is fine, and
> imho, slightly better, since using -shared there merely encodes the
> current limitation that statically-linked python libraries are
> useless.
> We've already done that via configure, so if ever it's relaxed,
> there's
> only one place to modify. 

Again, no, in the configure you avoid the configuration case where you
disable shared and want python. The -shared option tells you *not to
build a static copy of that module* since it makes no sense. Please
refer to my original link about the option itself:

http://www.flameeyes.eu/autotools-mythbuster/libtool/index.html#libtool.plugins.dlopen


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





More information about the libvir-list mailing list