summaryrefslogtreecommitdiff
path: root/libcli/nbt/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-26 09:49:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-26 17:16:34 +1000
commitc18954775e53a0f4dec4e36234dc45559055f96d (patch)
tree1a77efa4d9a08da2e90c7e147552cd11bca44b68 /libcli/nbt/wscript_build
parent3a88d49d12fe6c74dffe3e8d82235c71511cc07c (diff)
downloadsamba-c18954775e53a0f4dec4e36234dc45559055f96d.tar.gz
samba-c18954775e53a0f4dec4e36234dc45559055f96d.tar.bz2
samba-c18954775e53a0f4dec4e36234dc45559055f96d.zip
libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srv
By reworking the 'fake DNS' file to use struct dns_rr_srv it should be possible to emulate that resolver layer as well as the Samba4 sockaddr_storage* based layer. This will then give us a common DNS emulation for 'make test'. Andrew Bartlett
Diffstat (limited to 'libcli/nbt/wscript_build')
-rw-r--r--libcli/nbt/wscript_build4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build
index 6f7a1745b7..07d8c51b1f 100644
--- a/libcli/nbt/wscript_build
+++ b/libcli/nbt/wscript_build
@@ -7,13 +7,13 @@ bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
)
bld.SAMBA_SUBSYSTEM('lmhosts',
- source='lmhosts.c',
+ source='lmhosts.c ../dns/dns_hosts_file.c',
deps='replace talloc'
)
if bld.env._SAMBA_BUILD_ == 4:
bld.SAMBA_LIBRARY('cli-nbt',
- source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c dns_hosts_file.c',
+ source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
public_deps='ndr NDR_NBT tevent UTIL_TEVENT NDR_SECURITY samba_socket samba-util lmhosts',
private_library=True
)