summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb2/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tdb2/wscript b/lib/tdb2/wscript
index 1211523460..e4fb62bd2a 100644
--- a/lib/tdb2/wscript
+++ b/lib/tdb2/wscript
@@ -24,6 +24,9 @@ def set_options(opt):
opt.add_option('--enable-tdb2',
help=("Use tdb2 API instead of tdb1 [True]"),
action="store_true", dest='BUILD_TDB2', default=True)
+ opt.add_option('--disable-tdb2',
+ help=("Use old tdb1 API instead of tdb2"),
+ action="store_false", dest='BUILD_TDB2')
if opt.IN_LAUNCH_DIR():
opt.add_option('--disable-python',
help=("disable the pytdb module"),