From d37e47e12c95f4b2a834b67f46fd3c7248cb2455 Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Mon, 9 Feb 2015 17:25:51 +0100 Subject: [PATCH] configure.ac: changing libtool behavior for library build The unit test binary needs the static library to link against. So there is a real need to not only build the dynamic version of libcoap library. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8c284c3c..0c9ece89 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,10 @@ AC_CONFIG_HEADERS([coap_config.h]) AC_PROG_CC AM_PROG_AR AC_CONFIG_MACRO_DIR([m4]) -LT_INIT([disable-static]) + +# enable the automatically build of shared and static libraries, the unit +# tests needs the static library +LT_INIT([shared static]) # Setting the libtool versioning ###################################################################################