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>
conf.CHECK_FUNCS('getresuid getresgid')
# Create full path to uid_wrapper
- srcdir = os.path.realpath(conf.srcdir)
- libuid_wrapper_so_path = srcdir + '/bin/default/lib/uid_wrapper/libuid-wrapper.so'
+ blddir = os.path.realpath(conf.blddir)
+ libuid_wrapper_so_path = blddir + '/default/lib/uid_wrapper/libuid-wrapper.so'
conf.DEFINE('LIBUID_WRAPPER_SO_PATH', libuid_wrapper_so_path)
conf.DEFINE('UID_WRAPPER', 1)