From cd172e77248968c48d2ff7f18a2366c35dd51697 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Nov 2010 03:00:45 +0100 Subject: talloc: Add python talloc module, move convenience functions to it. Autobuild-User: Jelmer Vernooij Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104 --- lib/talloc/wscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/talloc/wscript') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index d2968409ef..264c34567a 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -32,7 +32,7 @@ def set_options(opt): action="store_true", dest='TALLOC_COMPAT1', default=False) if opt.IN_LAUNCH_DIR(): opt.add_option('--disable-python', - help=("disable the pytevent module"), + help=("disable the pytalloc module"), action="store_true", dest='disable_python', default=False) @@ -112,6 +112,11 @@ def build(bld): vnum=VERSION, ) bld.INSTALL_FILES('${INCLUDEDIR}', 'pytalloc.h') + bld.SAMBA_PYTHON('pytalloc', + 'pytalloc.c', + deps='talloc pytalloc-util', + enabled=True, + realname='talloc.so') if not getattr(bld.env, '_SAMBA_BUILD_', 0) == 4: # s4 already has the talloc testsuite builtin to smbtorture -- cgit