From 6c300ec4b51bfd57837d193f0b17b60cb152fc27 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 6 May 2011 16:42:07 +0200 Subject: s3:build: link libtalloc as shared lib if using shared libs at all --- source3/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/configure.in b/source3/configure.in index 4edd818e87..34be4fe761 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2109,7 +2109,9 @@ fi if test "x$enable_external_libtalloc" = xno then m4_include(../lib/talloc/libtalloc.m4) - LINK_LIBTALLOC=STATIC + if test x"$USESHARED" == x"no" ; then + LINK_LIBTALLOC=STATIC + fi LIBTALLOCVERSION=`grep ^VERSION ${tallocdir}/wscript | sed -e "s/'//g" -e 's/.* //'` SMB_LIBRARY(talloc, 2, ${LIBTALLOCVERSION}) LIBTALLOC_OBJ0="" -- cgit