s3-waf: Don't build winbindd when --without-winbind is set
authorKai Blin <kai@samba.org>
Wed, 21 Apr 2010 20:31:35 +0000 (22:31 +0200)
committerKai Blin <kai@samba.org>
Thu, 20 May 2010 20:16:14 +0000 (22:16 +0200)
source3/wscript_build

index 324c60b90defc2b9638495d8869ce973003a3619..05830ee751b92b7a30b3ed725df1c151265457fe 100644 (file)
@@ -890,6 +890,7 @@ bld.SAMBA_BINARY('winbindd/winbindd',
                  deps='''talloc tdb tevent cap dl popt DYNCONFIG z NSS_WRAPPER
                  LIBWBCLIENT PASSDB resolv LDB''',
                  includes='lib',
+                 enabled=(bld.env.WITH_WINBIND == 1),
                  vars=locals())
 
 bld.SAMBA_BINARY('wbinfo',