diff options
Diffstat (limited to 'source4/selftest')
-rw-r--r-- | source4/selftest/wscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript index 2f4e4362e0..2273def930 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -141,6 +141,11 @@ def cmd_testonly(opt): # this is needed for systems without rpath, or with rpath disabled ADD_LD_LIBRARY_PATH('bin/shared') + # if we are using a system version of ldb then we need to tell it to + # load modules from our modules path + if env.USING_SYSTEM_LDB: + os.environ['LDB_MODULES_PATH'] = 'bin/modules/ldb' + # tell build system where to find config.h os.environ['CONFIG_H'] = 'bin/default/source4/include/config.h' |