summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_python.py
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 /buildtools/wafsamba/samba_python.py
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 'buildtools/wafsamba/samba_python.py')
-rw-r--r--buildtools/wafsamba/samba_python.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index 46e6657ce3..ad09981462 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -27,7 +27,7 @@ def SAMBA_PYTHON(bld, name,
if realname is None:
# a SAMBA_PYTHON target without a realname is just a
- # library with needs_python=True
+ # library with pyembed=True
bld.SAMBA_LIBRARY(name,
source=source,
deps=deps,
@@ -36,7 +36,7 @@ def SAMBA_PYTHON(bld, name,
cflags=cflags,
local_include=local_include,
vars=vars,
- needs_python=True,
+ pyembed=True,
enabled=enabled)
return
@@ -52,7 +52,7 @@ def SAMBA_PYTHON(bld, name,
local_include=local_include,
vars=vars,
link_name=link_name,
- needs_python=True,
+ pyembed=True,
target_type='PYTHON',
install_path='${PYTHONDIR}',
enabled=enabled)