From: Ivan Maidanski Date: Tue, 18 Jul 2017 21:32:40 +0000 (+0300) Subject: Build only shared libraries by default (configure) X-Git-Tag: v8.0.0~638 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9964cfc034a0089f40a7274fcaa6ea1706f0c9a;p=gc Build only shared libraries by default (configure) 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. --- diff --git a/configure.ac b/configure.ac index 658a0e03..8190cef1 100644 --- a/configure.ac +++ b/configure.ac @@ -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.