summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 04:25:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 03:54:01 +0000
commitc15e919a09b5af5d27f172ba127b94d58f2ee234 (patch)
treee2ef37a512b30b4521ce817ba81b2aece714ae06 /source4/scripting/python
parent5de1274d87efc66eac0b99a563cfef77bc3d6f9d (diff)
downloadsamba-c15e919a09b5af5d27f172ba127b94d58f2ee234.tar.gz
samba-c15e919a09b5af5d27f172ba127b94d58f2ee234.tar.bz2
samba-c15e919a09b5af5d27f172ba127b94d58f2ee234.zip
wafsamba: Clarify needs_python argument name, use pyembed/pyext where
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/wscript_build18
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index d28985609f..055edc8f6a 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -1,19 +1,19 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBPYTHON',
- source='modules.c',
- public_deps='EXT_LIB_PYTHON',
- init_function_sentinal='{NULL,NULL}',
- needs_python=True,
- deps='talloc',
+ source='modules.c',
+ public_deps='EXT_LIB_PYTHON',
+ init_function_sentinal='{NULL,NULL}',
+ pyembed=True,
+ deps='talloc',
)
bld.SAMBA_SUBSYSTEM('PYTALLOC',
- source='../../../lib/talloc/pytalloc.c',
- public_deps='EXT_LIB_PYTHON talloc',
- needs_python=True,
- )
+ source='../../../lib/talloc/pytalloc.c',
+ public_deps='EXT_LIB_PYTHON talloc',
+ pyembed=True,
+)
bld.SAMBA_PYTHON('python_uuid',