From 8aa988a455f1165f59e19eb39f5fd2b0c39231f6 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 12 Nov 2011 15:51:16 +0100 Subject: [PATCH] ldb: Use pyembed rather than pyext for ldb-util library. --- buildtools/wafsamba/wafsamba.py | 6 +++++- lib/ldb/wscript | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 0a120da0d27..21b91e4cb49 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 3772871a068..04373834199 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_*') -- 2.34.1