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