mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
dlz-bind: Add support for BIND 9.12.x
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9c13125467
commit
94ffd4b7ad
@ -34,6 +34,9 @@
|
|||||||
#elif defined (BIND_VERSION_9_11)
|
#elif defined (BIND_VERSION_9_11)
|
||||||
# define DLZ_DLOPEN_VERSION 3
|
# define DLZ_DLOPEN_VERSION 3
|
||||||
# define DNS_CLIENTINFO_VERSION 2
|
# define DNS_CLIENTINFO_VERSION 2
|
||||||
|
#elif defined (BIND_VERSION_9_12)
|
||||||
|
# define DLZ_DLOPEN_VERSION 3
|
||||||
|
# define DNS_CLIENTINFO_VERSION 2
|
||||||
#else
|
#else
|
||||||
# error Unsupported BIND version
|
# error Unsupported BIND version
|
||||||
#endif
|
#endif
|
||||||
|
@ -58,6 +58,16 @@ bld.SAMBA_LIBRARY('dlz_bind9_11',
|
|||||||
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
|
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
|
||||||
enabled=bld.AD_DC_BUILD_IS_ENABLED())
|
enabled=bld.AD_DC_BUILD_IS_ENABLED())
|
||||||
|
|
||||||
|
bld.SAMBA_LIBRARY('dlz_bind9_12',
|
||||||
|
source='dlz_bind9.c',
|
||||||
|
cflags='-DBIND_VERSION_9_12',
|
||||||
|
private_library=True,
|
||||||
|
link_name='modules/bind9/dlz_bind9_12.so',
|
||||||
|
realname='dlz_bind9_12.so',
|
||||||
|
install_path='${MODULESDIR}/bind9',
|
||||||
|
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
|
||||||
|
enabled=bld.AD_DC_BUILD_IS_ENABLED())
|
||||||
|
|
||||||
bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
|
bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
|
||||||
source='dlz_bind9.c',
|
source='dlz_bind9.c',
|
||||||
cflags='-DBIND_VERSION_9_8',
|
cflags='-DBIND_VERSION_9_8',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user