]> granicus.if.org Git - gc/commitdiff
Build only shared libraries by default (configure)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 18 Jul 2017 21:32:40 +0000 (00:32 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 18 Jul 2017 21:32:40 +0000 (00:32 +0300)
This is to speed up the build and compile all libgc source files into
a single .o file (to enable more compiler optimizations).

* configure.ac (LT_INIT): Pass disable-static; add comment.

configure.ac

index 658a0e0381e2159f6856481d7396ad2b443be5e8..8190cef14da5a00f6f0e58d3bafd31faf7cf5666 100644 (file)
@@ -30,7 +30,9 @@ AM_PROG_CC_C_O
 AC_PROG_CXX
 AM_PROG_AS
 AC_PROG_INSTALL
-LT_INIT
+LT_INIT([disable-static])
+# Only the shared libraries are produced by default, use "--enable-static"
+# option to override it.
 # Note: If Autoconf reports that LIBTOOL (or AC_ENABLE_SHARED, or
 # AC_PROG_LIBTOOL) is undefined, Libtool installation should be checked.