summaryrefslogtreecommitdiff
path: root/selftest/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/wscript')
-rw-r--r--selftest/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/wscript b/selftest/wscript
index ab9f269b79..558cb2abd2 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -174,6 +174,9 @@ def cmd_testonly(opt):
if env.USING_SYSTEM_LDB:
os.environ['LDB_MODULES_PATH'] = 'bin/modules/ldb'
+ if env.BUILD_TDB2:
+ os.environ['BUILD_TDB2'] = '1'
+
# tell build system where to find config.h
os.environ['VFSLIBDIR'] = os.path.abspath('bin/modules/vfs')
os.environ['CONFIG_H'] = 'bin/default/include/config.h'