libnetapi: fix dependency problem by linking libnetapi statically (internally)
authorMichael Adam <obnox@samba.org>
Fri, 11 Apr 2008 22:12:25 +0000 (00:12 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 12 Apr 2008 00:17:46 +0000 (02:17 +0200)
This is a workaround until we have isolated enough internal libraries
as shared libraries.

Michael

source/configure.in

index ce3fcc90e2becfce72a037721a8c2107274a11d8..5f16d699ac4bb7fdf29ded1b2b19f2ac909093a8 100644 (file)
@@ -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)