summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-12 00:12:25 +0200
committerMichael Adam <obnox@samba.org>2008-04-12 02:17:46 +0200
commit7d7b420ad13c1d6fc89569f1f0dc4df92d8e0c24 (patch)
tree468fcbdf59959feffee5fee5e234f8daaa1e5ac0
parentecd46b8ad4e77bbfd6f24cecdccd4029655336b8 (diff)
downloadsamba-7d7b420ad13c1d6fc89569f1f0dc4df92d8e0c24.tar.gz
samba-7d7b420ad13c1d6fc89569f1f0dc4df92d8e0c24.tar.bz2
samba-7d7b420ad13c1d6fc89569f1f0dc4df92d8e0c24.zip
libnetapi: fix dependency problem by linking libnetapi statically (internally)
This is a workaround until we have isolated enough internal libraries as shared libraries. Michael (This used to be commit 8a87e402701494ba1c9d56a9febe3e5c25dc2bf7)
-rw-r--r--source3/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index ce3fcc90e2..5f16d699ac 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4728,6 +4728,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)