From bbc98df743fb81b560bbb0d1e2a3db6425720fac Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 5 Apr 2012 16:45:01 +1000 Subject: dlz_bind9: Build shared libraries for both BIND versions 9.8 and 9.9 This adds #define BIND_VERSION_9_8 and keeps the current version as 9.9, so shared libraries can be built for both BIND versions. --- source4/dns_server/wscript_build | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/dns_server/wscript_build') diff --git a/source4/dns_server/wscript_build b/source4/dns_server/wscript_build index 29895b2d18..e508fcdbe6 100644 --- a/source4/dns_server/wscript_build +++ b/source4/dns_server/wscript_build @@ -12,8 +12,18 @@ bld.SAMBA_MODULE('service_dns', # a bind9 dlz module giving access to the Samba DNS SAM bld.SAMBA_LIBRARY('dlz_bind9', source='dlz_bind9.c', + cflags='-DBIND_VERSION_9_8', private_library=True, link_name='modules/bind9/dlz_bind9.so', realname='dlz_bind9.so', install_path='${MODULESDIR}/bind9', deps='samba-hostconfig samdb gensec popt') + +bld.SAMBA_LIBRARY('dlz_bind9_9', + source='dlz_bind9.c', + cflags='-DBIND_VERSION_9_9', + private_library=True, + link_name='modules/bind9/dlz_bind9_9.so', + realname='dlz_bind9.so', + install_path='${MODULESDIR}/bind9', + deps='samba-hostconfig samdb gensec popt') -- cgit