summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
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 /buildtools/wafsamba
parent2bff55f5deede15d09d2f685f5391e579ad36831 (diff)
downloadsamba-5324b943e72d597da178d362f7c938fe0a4e57b0.tar.gz
samba-5324b943e72d597da178d362f7c938fe0a4e57b0.tar.bz2
samba-5324b943e72d597da178d362f7c938fe0a4e57b0.zip
wafsamba: Fix handling of pyembed/pyext.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 414fdc61fc..e53472b76a 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -148,8 +148,8 @@ def SAMBA_LIBRARY(bld, libname, source,
group = group,
autoproto = autoproto,
depends_on = depends_on,
- pyembed = pyembed,
hide_symbols = hide_symbols,
+ pyext = (target_type == "PYTHON"),
local_include = local_include)
if BUILTIN_LIBRARY(bld, libname):
@@ -270,9 +270,9 @@ def SAMBA_BINARY(bld, binname, source,
group = group,
autoproto = autoproto,
subsystem_name = subsystem_name,
- pyembed = pyembed,
local_include = local_include,
use_hostcc = use_hostcc,
+ pyext = pyembed,
use_global_deps= use_global_deps)
bld.SET_BUILD_GROUP(group)
@@ -409,7 +409,6 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
use_global_deps=True,
vars=None,
hide_symbols=False,
- pyembed=False,
pyext=False):
'''define a Samba subsystem'''
@@ -433,8 +432,6 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
bld.SET_BUILD_GROUP(group)
features = 'cc'
- if pyembed:
- features += ' pyembed'
if pyext:
features += ' pyext'