From 153dfc514c5885e52f11852b25dd018fc1160067 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 21 Feb 2014 14:23:00 +0100 Subject: selftest: Use the absolute path to the ldb modules. This fixes 'make test' on Fedora with external ldb. Reviewed-by: Guenther Deschner Reviewed-by: Alexander Bokovoy --- selftest/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selftest/wscript') diff --git a/selftest/wscript b/selftest/wscript index 3c5457f9610..ad77e9105b9 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -179,7 +179,7 @@ def cmd_testonly(opt): # 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' + os.environ['LDB_MODULES_PATH'] = os.path.abspath(os.path.join(env.cwd, 'bin/modules/ldb')) # tell build system where to find config.h os.environ['CONFIG_H'] = 'bin/default/include/config.h' -- cgit v1.2.1