summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2018-02-02 16:34:33 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:24 +0200
commitf14b8cb0dc1e590ee32c862e4efb839515b55d51 (patch)
tree525466571d48f11cefcd65bfb79e3a7d6724e344 /third_party
parent051e7e74fdf99673d00a7a02a62e5099fc38f198 (diff)
downloadsamba-f14b8cb0dc1e590ee32c862e4efb839515b55d51.tar.gz
third_party/uid_wrapper/wscript: update to handle waf 2.0.4
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/uid_wrapper/wscript4
1 files changed, 2 insertions, 2 deletions
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)