diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 17:52:41 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:51 +1000 |
commit | 365f29136fa0410ca92f17b4595cd5c51b38697c (patch) | |
tree | 183e08381178ade43d24465a0dceee481548691c /lib/tdb/wscript | |
parent | 87ae97c38181f4228eddb0fb58cd41b25f5342ea (diff) | |
download | samba-365f29136fa0410ca92f17b4595cd5c51b38697c.tar.gz samba-365f29136fa0410ca92f17b4595cd5c51b38697c.tar.bz2 samba-365f29136fa0410ca92f17b4595cd5c51b38697c.zip |
build: only enable pytdb on s4 build
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r-- | lib/tdb/wscript | 3 |
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') |