summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rwxr-xr-x[-rw-r--r--]libcli/dns/wscript_build4
-rwxr-xr-x[-rw-r--r--]libcli/nbt/wscript_build4
2 files changed, 6 insertions, 2 deletions
diff --git a/libcli/dns/wscript_build b/libcli/dns/wscript_build
index 2e445da141..fab872712f 100644..100755
--- a/libcli/dns/wscript_build
+++ b/libcli/dns/wscript_build
@@ -3,3 +3,7 @@
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')
diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build
index a70db083e6..55867bae91 100644..100755
--- a/libcli/nbt/wscript_build
+++ b/libcli/nbt/wscript_build
@@ -7,8 +7,8 @@ bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
)
bld.SAMBA_SUBSYSTEM('lmhosts',
- source='lmhosts.c ../dns/dns_hosts_file.c',
- deps='replace talloc'
+ source='lmhosts.c',
+ deps='DNS_HOSTS_FILE replace talloc'
)
bld.SAMBA_LIBRARY('cli-nbt',