]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
configure.ac: disable static libraries by default.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 26 May 2020 23:23:08 +0000 (19:23 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 26 May 2020 23:23:08 +0000 (19:23 -0400)
Static libraries are a security risk and a waste of space. Most users
will not want to build or install them, so this commit disables them
by passing "disable-static" to the LT_INIT macro. If you really think
you know what you're doing, they can be re-enabled by passing the
"--enable-static" flag to ./configure.

configure.ac

index 581134d715323eefe2253336e8ca4b187c66d0e6..020088283a9f607d9427b970ef8e843678acccaf 100644 (file)
@@ -55,5 +55,5 @@ AC_CHECK_FUNC(asprintf,
               [],
               AC_MSG_ERROR(missing required asprintf function))
 
-LT_INIT
+LT_INIT([disable-static])
 AC_OUTPUT