Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
#!/usr/bin/env python
-import Options
+from waflib import Options
import os, sys
VERSION="1.2.4"
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)