summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/wscript_build5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index d8d488e72e..df677dffe3 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -650,7 +650,6 @@ WINBINDD_SRC1 = '''winbindd/winbindd.c
../nsswitch/libwbclient/wb_reqtrans.c'''
WINBINDD_SRC = '''${WINBINDD_SRC1}
- ${PARAM_SRC}
${LIBMSRPC_SRC} ${LIBMSRPC_GEN_SRC} ${RPC_PARSE_SRC}
${PROFILE_SRC} ${SLCACHE_SRC} ${SMBLDAP_SRC}
${LIBADS_SRC} ${KRBCLIENT_SRC} ${POPT_LIB_SRC}
@@ -914,9 +913,9 @@ bld.SAMBA_BINARY('nmbd/nmbd',
bld.SAMBA_BINARY('winbindd/winbindd',
source=WINBINDD_SRC,
deps='''talloc tdb tevent cap dl popt DYNCONFIG ZLIB NSS_WRAPPER
- LIBWBCLIENT PASSDB ldap resolv LDB PARAM LIB_NONSMBD''',
+ LIBWBCLIENT PASSDB ldap resolv LDB PARAM LIB_NONSMBD LIBSMB''',
includes='lib',
- enabled=(bld.env.WITH_WINBIND == 1),
+ enabled=Options.options.with_winbind,
install_path='${SBINDIR}',
vars=locals())