From 8aa988a455f1165f59e19eb39f5fd2b0c39231f6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 12 Nov 2011 15:51:16 +0100 Subject: ldb: Use pyembed rather than pyext for ldb-util library. --- buildtools/wafsamba/wafsamba.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba') 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, -- cgit