1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/torture/dns/wscript_build
Douglas Bagnall 3ef2b588e8 dlz torture: update to supported DLZ API
Bind 9.8 went EOL in 2014, but we still run our tests using the API
version that it alone uses.

This patch changes it to use the API of versions 9.10 onwards.

We don't change what we test or make use of the new API, just pass
around some NULL pointers.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-05-17 21:39:38 +00:00

20 lines
508 B
Python

#!/usr/bin/env python
if bld.AD_DC_BUILD_IS_ENABLED():
bld.SAMBA_MODULE('TORTURE_BIND_DNS',
source='dlz_bind9.c',
subsystem='smbtorture',
init_function='torture_bind_dns_init',
cflags='-DBIND_VERSION_9_16',
deps='torture talloc torturemain dlz_bind9_for_torture',
internal_module=True
)
bld.SAMBA_MODULE('TORTURE_INTERNAL_DNS',
source='internal_dns.c',
subsystem='smbtorture',
init_function='torture_internal_dns_init',
deps='torture talloc torturemain',
internal_module=True
)