[libvirt] [PATCH libvirt-glib] Disable static libraries by default
Eric Blake
eblake at redhat.com
Tue Apr 2 16:41:53 UTC 2013
On 04/02/2013 10:38 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Every source file is currently built twice by libtool, once for
> the shared library and once for the static library. Static libs
> are not commonly packaged by distros and slow down compilation
> time by as more than 50% compared to a shared-only build time.
s/by as more than/by as much as/
>
> Time for non-parallel make
>
> shared only: 52 secs
> shared + static: 1 min 26 secs
>
> Those few people who really want them, can pass --enable-static
> to configure
>
> Disabling them by default requires use of LT_INIT. We don't need
> to support older libtool, so drop use of AM_PROG_LIBTOOL entirely
> ---
> configure.ac | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
ACK.
--
Eric Blake eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130402/3ced71e2/attachment-0001.sig>
More information about the libvir-list
mailing list