1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00
samba-mirror/libcli/dns/wscript_build
Volker Lendecke 237c06aad8 libcli/dns: Make "clidns" a library
This will be linked into the SAMBA_LIBRARY "addns" in the next step. Because
the other user, "dnsserver_common", is also a library, we can't link this as a
subsystem anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-01-15 07:53:21 +01:00

21 lines
590 B
Python

#!/usr/bin/env python
bld.SAMBA_LIBRARY('clidns',
source='dns.c resolvconf.c',
public_deps='LIBTSOCKET tevent-util NDR_DNS',
private_library=True)
bld.SAMBA_BINARY('resolvconftest',
source='resolvconftest.c',
deps='clidns',
install=False)
bld.SAMBA_SUBSYSTEM('dns_lookup',
source='dns_lookup.c',
public_deps='clidns')
bld.SAMBA_BINARY('dns_lookuptest',
source='dns_lookuptest.c',
deps='dns_lookup',
install=False)