From 365f29136fa0410ca92f17b4595cd5c51b38697c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 17:52:41 +1100 Subject: build: only enable pytdb on s4 build --- lib/tdb/wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/tdb/wscript') diff --git a/lib/tdb/wscript b/lib/tdb/wscript index 9dd039f43c..7a67c20dae 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -47,8 +47,11 @@ def build(bld): 'tools/tdbtool.c', 'tdb') + s4_build = getattr(bld.env, '_SAMBA_BUILD_', 0) == 4 + bld.SAMBA_PYTHON('pytdb', 'pytdb.c', deps='tdb', + enabled=s4_build, realname='tdb.so') -- cgit