From f14b8cb0dc1e590ee32c862e4efb839515b55d51 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 2 Feb 2018 16:34:33 +0200 Subject: third_party/uid_wrapper/wscript: update to handle waf 2.0.4 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- third_party/uid_wrapper/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party') diff --git a/third_party/uid_wrapper/wscript b/third_party/uid_wrapper/wscript index 8127a9d9f40..b1dc3792bc3 100644 --- a/third_party/uid_wrapper/wscript +++ b/third_party/uid_wrapper/wscript @@ -1,6 +1,6 @@ #!/usr/bin/env python -import Options +from waflib import Options import os, sys VERSION="1.2.4" @@ -106,7 +106,7 @@ syscall(SYS_setgroups32, 0, NULL); conf.CHECK_FUNCS('getresuid getresgid') # Create full path to uid_wrapper - blddir = os.path.realpath(conf.blddir) + blddir = os.path.realpath(conf.bldnode.abspath()) libuid_wrapper_so_path = blddir + '/default/third_party/uid_wrapper/libuid-wrapper.so' conf.DEFINE('LIBUID_WRAPPER_SO_PATH', libuid_wrapper_so_path) -- cgit v1.2.1