summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_python.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-12 05:20:10 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-13 18:06:06 +0100
commit312fd94002cd576140e5d90ef70ea2dd053c949a (patch)
tree663a557778993833e1f287f9fa4f6aa93e6d5967 /buildtools/wafsamba/samba_python.py
parentc529c12c7d644bb2d7391a5d736ee9e6b12d6ab6 (diff)
downloadsamba-312fd94002cd576140e5d90ef70ea2dd053c949a.tar.gz
samba-312fd94002cd576140e5d90ef70ea2dd053c949a.tar.bz2
samba-312fd94002cd576140e5d90ef70ea2dd053c949a.zip
waf: Don't link python modules against libpython2.x, consistent with other Python modules.
Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
Diffstat (limited to 'buildtools/wafsamba/samba_python.py')
-rw-r--r--buildtools/wafsamba/samba_python.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index e9afa939a3..f46aacce47 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -45,7 +45,7 @@ def SAMBA_PYTHON(bld, name,
cflags=cflags,
local_include=local_include,
vars=vars,
- pyembed=True,
+ pyext=True,
enabled=enabled)
return
@@ -61,7 +61,7 @@ def SAMBA_PYTHON(bld, name,
local_include=local_include,
vars=vars,
link_name=link_name,
- pyembed=True,
+ pyext=True,
target_type='PYTHON',
install_path='${PYTHONARCHDIR}',
enabled=enabled)