summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/wscript_build b/source4/smbd/wscript_build
index f86cd5199b..97877fc54b 100644
--- a/source4/smbd/wscript_build
+++ b/source4/smbd/wscript_build
@@ -5,7 +5,7 @@ bld.SAMBA_LIBRARY('service',
autoproto='service_proto.h',
deps='tevent MESSAGING samba_socket RPC_NDR_IRPC NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials LIBTSOCKET LIBSAMBA_TSOCKET process_model',
private_library=True,
- enabled=True
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
@@ -20,7 +20,7 @@ bld.SAMBA_LIBRARY('process_model',
autoproto='process_model_proto.h',
deps='samba-util samba-hostconfig samba-modules',
private_library=True,
- enabled=True
+ enabled=bld.AD_DC_BUILD_IS_ENABLED()
)
bld.SAMBA_BINARY('samba',