dns_server: Only install common library if AD DC is enabled.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Jul 2017 04:11:12 +0000 (16:11 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Jul 2017 04:57:20 +0000 (06:57 +0200)
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>
source4/dns_server/wscript_build

index 396ed768d6d42b66d4aa9fb5aec0fd297a558356..47701e0f293bbbac4fd451f233e026665dda0b18 100644 (file)
@@ -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',