summaryrefslogtreecommitdiff
path: root/libcli/dns
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/dns')
-rwxr-xr-xlibcli/dns/wscript_build12
1 files changed, 5 insertions, 7 deletions
diff --git a/libcli/dns/wscript_build b/libcli/dns/wscript_build
index fab872712f..03025ad176 100755
--- a/libcli/dns/wscript_build
+++ b/libcli/dns/wscript_build
@@ -1,9 +1,7 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBCLI_DNS',
- source='dns.c',
- deps='LIBTSOCKET tevent-util')
-
-bld.SAMBA_SUBSYSTEM('DNS_HOSTS_FILE',
- source='dns_hosts_file.c',
- deps='samba-util errors')
+bld.SAMBA_LIBRARY('clidns',
+ source='dns.c dns_hosts_file.c',
+ public_deps='LIBTSOCKET tevent-util',
+ private_library=True,
+ vars=locals())