[PATCH 2/4] dns_server: Only build common library if AD DC is enabled.

Andreas Schneider asn at samba.org
Thu Nov 20 02:26:35 MST 2014


Signed-off-by: Andreas Schneider <asn at samba.org>
---
 source4/dns_server/wscript_build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build
index 803ca62..a4f0f0c 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',
-- 
2.1.2




More information about the samba-technical mailing list