1
0
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:
Alexander Bokovoy 2018-02-02 16:34:33 +02:00 committed by Andrew Bartlett
parent 051e7e74fd
commit f14b8cb0dc

View File

@ -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)