summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-07-04 16:11:12 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-07-04 06:57:20 +0200
commit1319f199587ac82742ab39850bd2ea38d7c013ad (patch)
tree5ddae5371c9e6bf4813daad1071edf7e32f1bbc1
parenta760324dbd04f5c53636fa66ad6f89b14a4d1042 (diff)
downloadsamba-1319f199587ac82742ab39850bd2ea38d7c013ad.tar.gz
dns_server: Only install common library if AD DC is enabled.
The library is used in selftest, so must still be built This reverts commit d32b66b40c931fe8214faa2e1d40b34b86667d4c and replaces the behaviour. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
-rw-r--r--source4/dns_server/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build
index 396ed768d6d..47701e0f293 100644
--- a/source4/dns_server/wscript_build
+++ b/source4/dns_server/wscript_build
@@ -4,7 +4,8 @@ bld.SAMBA_LIBRARY('dnsserver_common',
source='dnsserver_common.c',
deps='samba-util samba-errors ldbsamba clidns',
private_library=True,
- enabled=bld.AD_DC_BUILD_IS_ENABLED())
+ install=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',