From c0f3921234963a66b9018d94c794d8579ee41f99 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 19 Nov 2014 10:30:23 +0100 Subject: [PATCH] dfs_server: Only build in case we build an AD DC too. Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- dfs_server/wscript_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dfs_server/wscript_build b/dfs_server/wscript_build index 294eccf3fe3..743b990c9a8 100644 --- a/dfs_server/wscript_build +++ b/dfs_server/wscript_build @@ -3,5 +3,5 @@ bld.SAMBA_LIBRARY('dfs_server_ad', source='dfs_server_ad.c', deps='talloc samdb samba-util LIBTSOCKET', - private_library=True - ) + private_library=True, + enabled=bld.AD_DC_BUILD_IS_ENABLED())