From 23000bcf2e6cfdb362d7cdbedd6a95d5422080da Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 26 Sep 2011 22:25:51 -0700 Subject: [PATCH] dns: Build the python bindings --- librpc/wscript_build | 7 ++++++- source4/librpc/wscript_build | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/librpc/wscript_build b/librpc/wscript_build index f0b461d8c81..f35fd02a377 100644 --- a/librpc/wscript_build +++ b/librpc/wscript_build @@ -378,6 +378,11 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV', public_deps='NDR_AUDIOSRV dcerpc-binding' ) +bld.SAMBA_SUBSYSTEM('RPC_NDR_DNS', + source='gen_ndr/ndr_dns_c.c', + public_deps='dcerpc-binding NDR_DNS' + ) + bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO', source='gen_ndr/ndr_echo_c.c', public_deps='dcerpc-binding NDR_ECHO' @@ -583,7 +588,7 @@ bld.SAMBA_LIBRARY('dcerpc-samba', source='', deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG RPC_NDR_DFS RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG - RPC_NDR_ECHO RPC_NDR_EPMAPPER RPC_NDR_ATSVC RPC_NDR_SPOOLSS''', + RPC_NDR_ECHO RPC_NDR_EPMAPPER RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNS''', public_deps='ndr-standard', private_library=True, grouping_library=True diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index b4e65e8aa74..cb4c5307a64 100755 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -181,6 +181,12 @@ bld.SAMBA_PYTHON('python_echo', realname='samba/dcerpc/echo.so' ) +bld.SAMBA_PYTHON('python_dns', + source='../../librpc/gen_ndr/py_dns.c', + deps='RPC_NDR_DNS pytalloc-util pyrpc_util', + realname='samba/dcerpc/dns.so' + ) + bld.SAMBA_PYTHON('python_auth', source='../../librpc/gen_ndr/py_auth.c', deps='NDR_AUTH pytalloc-util pyrpc_util', -- 2.11.4.GIT