summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-04 13:39:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-04 13:52:09 +0200
commit20d39691a8eecd57b27cb709a70c50bf572b8114 (patch)
tree06e6d55a7db4ab973b4b228f4593a77cac3c05a5
parente805bf52c9ed32bd53759996b5700c5d582a2a58 (diff)
downloadsamba-20d39691a8eecd57b27cb709a70c50bf572b8114.tar.gz
samba-20d39691a8eecd57b27cb709a70c50bf572b8114.tar.bz2
samba-20d39691a8eecd57b27cb709a70c50bf572b8114.zip
tdb: Only use system pytdb when using system tdb.
-rw-r--r--lib/tdb/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index bbd270095c..53f81fe49b 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -36,8 +36,8 @@ def configure(conf):
if conf.CHECK_BUNDLED_SYSTEM('tdb', minversion=VERSION,
implied_deps='replace'):
conf.define('USING_SYSTEM_TDB', 1)
- if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION):
- conf.define('USING_SYSTEM_PYTDB', 1)
+ if conf.CHECK_BUNDLED_SYSTEM_PYTHON('pytdb', 'tdb', minversion=VERSION):
+ conf.define('USING_SYSTEM_PYTDB', 1)
conf.env.disable_python = getattr(Options.options, 'disable_python', False)