summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-11 01:09:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:54:04 +0000
commit5324b943e72d597da178d362f7c938fe0a4e57b0 (patch)
treefe163168984881467c684c96e03aba82ee618190 /source4/scripting/python
parent2bff55f5deede15d09d2f685f5391e579ad36831 (diff)
downloadsamba-5324b943e72d597da178d362f7c938fe0a4e57b0.tar.gz
samba-5324b943e72d597da178d362f7c938fe0a4e57b0.tar.bz2
samba-5324b943e72d597da178d362f7c938fe0a4e57b0.zip
wafsamba: Fix handling of pyembed/pyext.
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/wscript_build38
1 files changed, 19 insertions, 19 deletions
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index 055edc8f6a..d691d61f73 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -1,34 +1,34 @@
#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('LIBPYTHON',
- source='modules.c',
- public_deps='EXT_LIB_PYTHON',
- init_function_sentinal='{NULL,NULL}',
- pyembed=True,
- deps='talloc',
- )
+ source='modules.c',
+ public_deps='EXT_LIB_PYTHON',
+ init_function_sentinal='{NULL,NULL}',
+ deps='talloc',
+ pyext=True,
+ )
bld.SAMBA_SUBSYSTEM('PYTALLOC',
- source='../../../lib/talloc/pytalloc.c',
- public_deps='EXT_LIB_PYTHON talloc',
- pyembed=True,
-)
+ source='../../../lib/talloc/pytalloc.c',
+ public_deps='EXT_LIB_PYTHON talloc',
+ pyext=True,
+ )
bld.SAMBA_PYTHON('python_uuid',
- source='uuidmodule.c',
- deps='LIBNDR',
- realname='uuid.so',
- enabled = float(bld.env.PYTHON_VERSION) <= 2.4
- )
+ source='uuidmodule.c',
+ deps='LIBNDR',
+ realname='uuid.so',
+ enabled = float(bld.env.PYTHON_VERSION) <= 2.4
+ )
bld.SAMBA_PYTHON('python_glue',
- source='pyglue.c',
- deps='pyparam_util LIBSAMBA-UTIL LIBNETIF PYTALLOC',
- realname='samba/_glue.so'
- )
+ source='pyglue.c',
+ deps='pyparam_util LIBSAMBA-UTIL LIBNETIF PYTALLOC',
+ realname='samba/_glue.so'
+ )
# create a dummy subsystem for EXT_LIB_PYTHON