diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-04-26 09:49:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-04-26 17:16:34 +1000 |
commit | c18954775e53a0f4dec4e36234dc45559055f96d (patch) | |
tree | 1a77efa4d9a08da2e90c7e147552cd11bca44b68 /libcli/nbt/wscript_build | |
parent | 3a88d49d12fe6c74dffe3e8d82235c71511cc07c (diff) | |
download | samba-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_build | 4 |
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 ) |