From c9964cfc034a0089f40a7274fcaa6ea1706f0c9a Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 19 Jul 2017 00:32:40 +0300 Subject: [PATCH] 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. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.50.0