diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-04-05 16:45:01 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2012-04-16 11:16:34 +1000 |
commit | bbc98df743fb81b560bbb0d1e2a3db6425720fac (patch) | |
tree | 1ed094dada64354851c6289d3c5b43d081f5c588 /source4/dns_server/wscript_build | |
parent | 07677b2e433e4dc1aa956b2fda0e477a9c7b88b5 (diff) | |
download | samba-bbc98df743fb81b560bbb0d1e2a3db6425720fac.tar.gz samba-bbc98df743fb81b560bbb0d1e2a3db6425720fac.tar.bz2 samba-bbc98df743fb81b560bbb0d1e2a3db6425720fac.zip |
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.
Diffstat (limited to 'source4/dns_server/wscript_build')
-rw-r--r-- | source4/dns_server/wscript_build | 10 |
1 files changed, 10 insertions, 0 deletions
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') |