summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/wafsamba.py6
-rwxr-xr-xlib/ldb/wscript2
2 files changed, 6 insertions, 2 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,
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index 3772871a06..0437383419 100755
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -120,7 +120,7 @@ def build(bld):
vnum=VERSION,
private_library=private_library,
pc_files='pyldb-util.pc',
- pyext=True,
+ pyembed=True,
abi_directory='ABI',
abi_match='pyldb_*')