summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-12 15:51:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-13 18:06:06 +0100
commit8aa988a455f1165f59e19eb39f5fd2b0c39231f6 (patch)
treecf0918ed061545912f87774815458e2108ce7122 /buildtools/wafsamba
parent011707dee8a7c0bd1ee6768023e7d91a8988009b (diff)
downloadsamba-8aa988a455f1165f59e19eb39f5fd2b0c39231f6.tar.gz
samba-8aa988a455f1165f59e19eb39f5fd2b0c39231f6.tar.bz2
samba-8aa988a455f1165f59e19eb39f5fd2b0c39231f6.zip
ldb: Use pyembed rather than pyext for ldb-util library.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 0a120da0d2..21b91e4cb4 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -172,6 +172,7 @@ def SAMBA_LIBRARY(bld, libname, source,
autoproto_extra_source=autoproto_extra_source,
depends_on = depends_on,
hide_symbols = hide_symbols,
+ pyembed = pyembed,
pyext = pyext or (target_type == "PYTHON"),
local_include = local_include,
global_include = global_include)
@@ -491,7 +492,8 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
vars=None,
subdir=None,
hide_symbols=False,
- pyext=False):
+ pyext=False,
+ pyembed=False):
'''define a Samba subsystem'''
if not enabled:
@@ -518,6 +520,8 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
features = 'cc'
if pyext:
features += ' pyext'
+ if pyembed:
+ features += ' pyembed'
t = bld(
features = features,