diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-07-19 00:32:40 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-07-19 00:32:40 +0300 |
commit | c9964cfc034a0089f40a7274fcaa6ea1706f0c9a (patch) | |
tree | 98d9437633ba74d9d73268af74c5896934fae1be /configure.ac | |
parent | 6efe15d352a5b3d5dc00a356e7ad82288736eb28 (diff) | |
download | bdwgc-c9964cfc034a0089f40a7274fcaa6ea1706f0c9a.tar.gz |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
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. |