libcli/dns: Make "clidns" a library
authorVolker Lendecke <vl@samba.org>
Thu, 4 Jan 2018 16:06:53 +0000 (17:06 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 15 Jan 2019 06:53:21 +0000 (07:53 +0100)
This will be linked into the SAMBA_LIBRARY "addns" in the next step. Because
the other user, "dnsserver_common", is also a library, we can't link this as a
subsystem anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/dns/wscript_build

index d06f84d3cc331fbbd9762506380267290fa49c8b..0def78e2e1dd11c113aebe20635286fbcfca54fd 100644 (file)
@@ -1,8 +1,9 @@
 #!/usr/bin/env python
 
-bld.SAMBA_SUBSYSTEM('clidns',
+bld.SAMBA_LIBRARY('clidns',
         source='dns.c resolvconf.c',
-        public_deps='LIBTSOCKET tevent-util NDR_DNS')
+        public_deps='LIBTSOCKET tevent-util NDR_DNS',
+        private_library=True)
 
 bld.SAMBA_BINARY('resolvconftest',
                   source='resolvconftest.c',