summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-11-05 03:00:45 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-11-05 02:48:21 +0000
commitcd172e77248968c48d2ff7f18a2366c35dd51697 (patch)
tree3aaf238aed64fb4a890aed61189e5133c1f0c932 /lib/talloc/wscript
parent4edabb3256734dcef4ad0d7a910f1729cd5c956e (diff)
downloadsamba-cd172e77248968c48d2ff7f18a2366c35dd51697.tar.gz
samba-cd172e77248968c48d2ff7f18a2366c35dd51697.tar.bz2
samba-cd172e77248968c48d2ff7f18a2366c35dd51697.zip
talloc: Add python talloc module, move convenience functions to it.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript7
1 files changed, 6 insertions, 1 deletions
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