summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 17:52:41 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:51 +1000
commit365f29136fa0410ca92f17b4595cd5c51b38697c (patch)
tree183e08381178ade43d24465a0dceee481548691c /lib/tdb
parent87ae97c38181f4228eddb0fb58cd41b25f5342ea (diff)
downloadsamba-365f29136fa0410ca92f17b4595cd5c51b38697c.tar.gz
samba-365f29136fa0410ca92f17b4595cd5c51b38697c.tar.bz2
samba-365f29136fa0410ca92f17b4595cd5c51b38697c.zip
build: only enable pytdb on s4 build
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/wscript3
1 files changed, 3 insertions, 0 deletions
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')