summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-05-21 17:54:13 +0300
committerAlexander Bokovoy <ab@samba.org>2012-05-23 17:51:50 +0300
commit744f9910c81cee13228165db4e46200c41c69221 (patch)
tree9727931e2c7089501e211393a3095520362a131a /source4
parent2ddf89a2bc3c00b71dec230f071416e594f89113 (diff)
downloadsamba-744f9910c81cee13228165db4e46200c41c69221.tar.gz
samba-744f9910c81cee13228165db4e46200c41c69221.tar.bz2
samba-744f9910c81cee13228165db4e46200c41c69221.zip
libcli/dns: make 'clidns' private library out of DNS code in WAF build
After consolidating DNS resolver code to lib/addns, there is one piece that still needs to be moved into a common DNS resolver library: DNS_HOSTS_FILE subsystem. Unfortunately, direct move would require lib/addns to depend on libcli/util/{ntstatus.h,werror.h} (provided by errors subsystem). In addition, moving libcli/dns/* code to lib/addns/ would make conflicting the dns_tkey_record struct. The conflict comes from source4/dns_server/ and is due to use of IDL to define the struct. lib/addns/ library also provides its own definition so we either need to keep them in sync (rewrite code in lib/addns/ a bit) or depend on generated IDL headers. Thus, making a private library and subsystem clidns is an intermediate step that allows to buy some time fore refactoring.
Diffstat (limited to 'source4')
-rw-r--r--source4/dns_server/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build
index 960aefc3cb..c541d08d55 100644
--- a/source4/dns_server/wscript_build
+++ b/source4/dns_server/wscript_build
@@ -4,7 +4,7 @@ bld.SAMBA_MODULE('service_dns',
source='dns_server.c dns_query.c dns_update.c dns_utils.c',
subsystem='service',
init_function='server_service_dns_init',
- deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba LIBCLI_DNS',
+ deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns',
local_include=False,
internal_module=False,
enabled=bld.AD_DC_BUILD_IS_ENABLED()