1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

third_party/pam_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:32 +02:00 committed by Andrew Bartlett
parent 2b21e67e15
commit 2847a382d8

View File

@ -68,7 +68,7 @@ def configure(conf):
conf.DEFINE('PAM_LIBRARY', ('"%s"' % libpam_path )) conf.DEFINE('PAM_LIBRARY', ('"%s"' % libpam_path ))
# Create full path to pam_wrapper # Create full path to pam_wrapper
blddir = os.path.realpath(conf.blddir) blddir = os.path.realpath(conf.bldnode.abspath())
libpam_wrapper_so_path = blddir + '/default/third_party/pam_wrapper/libpam-wrapper.so' libpam_wrapper_so_path = blddir + '/default/third_party/pam_wrapper/libpam-wrapper.so'
conf.DEFINE('LIBPAM_WRAPPER_SO_PATH', libpam_wrapper_so_path) conf.DEFINE('LIBPAM_WRAPPER_SO_PATH', libpam_wrapper_so_path)