Disable compilation of static libraries. Static libraries (.a files) should not
be compiled by default, shared library is better for LGPL licensed code.

Still, one can enable static libraries with ./configure --enable-static

Signed-off-by: Jan Safranek <[email protected]>
---

 configure.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 19d6254..7f44ea6 100644
--- a/configure.in
+++ b/configure.in
@@ -22,6 +22,8 @@ AM_INIT_AUTOMAKE(libcgroup, 0.34)
 # soname is libcgroup.so.X
 AC_SUBST(LIBRARY_VERSION, 1:0:34)
 
+# we do not want static libraries
+AC_DISABLE_STATIC
 
 AC_CONFIG_SRCDIR([src])
 AC_CONFIG_HEADER([config.h])


------------------------------------------------------------------------------
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to