third_party/pam_wrapper/wscript: update to handle waf 2.0.4
[samba.git] / third_party / pam_wrapper / wscript
index 1a1e3a29bf2cdeacc16120285be47708587e7cc5..ddc4bf85e11c623cc538dff93be4e9276a3d5d2c 100644 (file)
@@ -68,7 +68,7 @@ def configure(conf):
         conf.DEFINE('PAM_LIBRARY', ('"%s"' % libpam_path ))
 
         # 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'
 
     conf.DEFINE('LIBPAM_WRAPPER_SO_PATH', libpam_wrapper_so_path)