mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
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>
This commit is contained in:
parent
051e7e74fd
commit
f14b8cb0dc
4
third_party/uid_wrapper/wscript
vendored
4
third_party/uid_wrapper/wscript
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user