summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/dns/wscript_build17
1 files changed, 9 insertions, 8 deletions
diff --git a/source4/torture/dns/wscript_build b/source4/torture/dns/wscript_build
index 83df02fec4..674a3a0c2b 100644
--- a/source4/torture/dns/wscript_build
+++ b/source4/torture/dns/wscript_build
@@ -1,10 +1,11 @@
#!/usr/bin/env python
-bld.SAMBA_MODULE('TORTURE_DNS',
- source='dlz_bind9.c',
- subsystem='smbtorture',
- init_function='torture_dns_init',
- cflags='-DBIND_VERSION_9_8',
- deps='torture talloc torturemain dlz_bind9_for_torture',
- internal_module=True
- )
+if bld.AD_DC_BUILD_IS_ENABLED():
+ bld.SAMBA_MODULE('TORTURE_DNS',
+ source='dlz_bind9.c',
+ subsystem='smbtorture',
+ init_function='torture_dns_init',
+ cflags='-DBIND_VERSION_9_8',
+ deps='torture talloc torturemain dlz_bind9_for_torture',
+ internal_module=True
+ )