summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)