diff --git a/source/configure.in b/source/configure.in index ce3fcc90e2b..5f16d699ac4 100644 --- a/source/configure.in +++ b/source/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)