summaryrefslogtreecommitdiff
path: root/source3/passdb/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/wscript_build')
-rw-r--r--source3/passdb/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/wscript_build b/source3/passdb/wscript_build
index 82c96348c3..59a7f80697 100644
--- a/source3/passdb/wscript_build
+++ b/source3/passdb/wscript_build
@@ -51,8 +51,8 @@ bld.SAMBA3_MODULE('pdb_samba4',
source='pdb_samba4.c',
init_function='',
deps='IDMAP samdb',
- internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4'),
- enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4'))
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('pdb_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('pdb_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
bld.SAMBA3_PYTHON('pypassdb',
source='py_passdb.c',