From: Alexander Bokovoy Date: Fri, 2 Feb 2018 14:34:33 +0000 (+0200) Subject: third_party/uid_wrapper/wscript: update to handle waf 2.0.4 X-Git-Tag: tdb-1.3.17~1820 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f14b8cb0dc1e590ee32c862e4efb839515b55d51;p=thirdparty%2Fsamba.git third_party/uid_wrapper/wscript: update to handle waf 2.0.4 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- 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)