aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2015-09-16 14:32:31 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-09-16 18:08:48 +0200
commitc2ddc4f5550e4081575fbcbaf37f6b3dafe7c05e (patch)
treedd0a3b1c654506bdcbe80f536c686d4de470aac4 /configure.ac
parentd452a48ac66d8e99a562c91660f371270d9c6b21 (diff)
build: have a disable-static build succeed
When using configure --disable-static, no libosmogsm.a will be created, and the tests fail to link because symbols like _a5_3 and _a5_4 are not exported through the only remaining libosmogsm.so. A method to overcome this is an intermediate private non-distributed library, examples of which are present in e.g. libabc, kmod and systemd. With this, disable-static can now be the default and practical compile time be halved.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c4922772..9a744b10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_PROG_MAKE_SET
AC_PROG_MKDIR_P
AC_PROG_CC
AC_PROG_INSTALL
-LT_INIT([pic-only])
+LT_INIT([pic-only disable-static])
AC_CONFIG_MACRO_DIR([m4])