mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
uid_wrapper: use conf.blddir to construct libnss_wrapper_so_path
conf.blddir might not the the same as conf.srcdir + '/bin'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
05c8aa6390
commit
7a4e2bef18
@ -112,8 +112,8 @@ syscall(SYS_setgroups32, 0, NULL);
|
|||||||
conf.CHECK_FUNCS('getresuid getresgid')
|
conf.CHECK_FUNCS('getresuid getresgid')
|
||||||
|
|
||||||
# Create full path to uid_wrapper
|
# Create full path to uid_wrapper
|
||||||
srcdir = os.path.realpath(conf.srcdir)
|
blddir = os.path.realpath(conf.blddir)
|
||||||
libuid_wrapper_so_path = srcdir + '/bin/default/lib/uid_wrapper/libuid-wrapper.so'
|
libuid_wrapper_so_path = blddir + '/default/lib/uid_wrapper/libuid-wrapper.so'
|
||||||
|
|
||||||
conf.DEFINE('LIBUID_WRAPPER_SO_PATH', libuid_wrapper_so_path)
|
conf.DEFINE('LIBUID_WRAPPER_SO_PATH', libuid_wrapper_so_path)
|
||||||
conf.DEFINE('UID_WRAPPER', 1)
|
conf.DEFINE('UID_WRAPPER', 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user