mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
selftest: Use the absolute path to the ldb modules.
This fixes 'make test' on Fedora with external ldb. Reviewed-by: Guenther Deschner <gd@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
d871a31e61
commit
153dfc514c
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user