summaryrefslogtreecommitdiff
path: root/lib/tdb_compat/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb_compat/wscript')
-rw-r--r--lib/tdb_compat/wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/tdb_compat/wscript b/lib/tdb_compat/wscript
index 574e67e8ef..9e36ced2bc 100644
--- a/lib/tdb_compat/wscript
+++ b/lib/tdb_compat/wscript
@@ -7,9 +7,7 @@ def set_options(opt):
opt.RECURSE('lib/tdb')
def configure(conf):
- conf.env.BUILD_TDB2 = getattr(Options.options, 'BUILD_TDB2', False)
-
- if conf.env.BUILD_TDB2:
+ if getattr(Options.options, 'BUILD_TDB2', False):
conf.RECURSE('lib/tdb2')
else:
conf.RECURSE('lib/tdb')