From 744f9910c81cee13228165db4e46200c41c69221 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 21 May 2012 17:54:13 +0300 Subject: 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. --- lib/addns/wscript_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/addns') diff --git a/lib/addns/wscript_build b/lib/addns/wscript_build index f1bab053c3a..15fb62016da 100755 --- a/lib/addns/wscript_build +++ b/lib/addns/wscript_build @@ -2,6 +2,6 @@ bld.SAMBA_LIBRARY('addns', source='dnsquery.c dnsrecord.c dnsutils.c dnssock.c dnsgss.c dnsmarshall.c error.c', - public_deps='DNS_HOSTS_FILE samba-util gssapi uuid resolv', + public_deps='clidns samba-util gssapi uuid resolv', private_library=True, vars=locals()) -- cgit v1.2.1