summaryrefslogtreecommitdiffstats
path: root/source4/dns_server
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-11-19 10:31:45 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-11-26 12:11:18 +0100
commitd32b66b40c931fe8214faa2e1d40b34b86667d4c (patch)
treeb9c34000479fe63511f4b2cce12a92f499929b22 /source4/dns_server
parentc0f3921234963a66b9018d94c794d8579ee41f99 (diff)
downloadsamba-d32b66b40c931fe8214faa2e1d40b34b86667d4c.tar.gz
samba-d32b66b40c931fe8214faa2e1d40b34b86667d4c.tar.xz
samba-d32b66b40c931fe8214faa2e1d40b34b86667d4c.zip
dns_server: Only build common library if AD DC is enabled.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Nov 26 12:11:18 CET 2014 on sn-devel-104
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build
index 803ca62e6f..a4f0f0c54b 100644
--- a/source4/dns_server/wscript_build
+++ b/source4/dns_server/wscript_build
@@ -4,7 +4,7 @@ bld.SAMBA_LIBRARY('dnsserver_common',
source='dnsserver_common.c',
deps='samba-util errors ldbsamba clidns',
private_library=True,
- )
+ enabled=bld.AD_DC_BUILD_IS_ENABLED())
bld.SAMBA_MODULE('service_dns',
source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',