From 6c5ebc66a4feea1a92570d847fbef28657d57b46 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 12 Apr 2008 00:12:25 +0200 Subject: [PATCH] libnetapi: fix dependency problem by linking libnetapi statically (internally) This is a workaround until we have isolated enough internal libraries as shared libraries. Michael (cherry picked from commit 8a87e402701494ba1c9d56a9febe3e5c25dc2bf7) --- source/configure.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/configure.in b/source/configure.in index 8487bbc6a9d..8e12919d892 100644 --- a/source/configure.in +++ b/source/configure.in @@ -4700,6 +4700,13 @@ AC_ARG_WITH([static-libs], done], [])], []) +# +# WORKAROUND: +# until we have organized other internal subsystems (as util, registrt +# and smbconf) into shared libraries, we CAN NOT link libnetapi +# dynamically to samba programs. +# +LINK_LIBNETAPI=STATIC SMB_LIBRARY(talloc) SMB_LIBRARY(tdb) -- 2.11.4.GIT