third_party/socket_wrapper/wscript: update to handle waf 2.0.4
[ambi/samba-autobuild/.git] / third_party / socket_wrapper / wscript
index a0ee4f2f93252523b91852a62b00b21039e4ae16..ffaba913e84963d88a68b8875729400983250599 100644 (file)
@@ -72,7 +72,7 @@ def configure(conf):
                                    define='HAVE_EVENTFD_UNSIGNED_INT', headers='sys/eventfd.h')
 
         # Create full path to socket_wrapper
-        blddir = os.path.realpath(conf.blddir)
+        blddir = os.path.realpath(conf.bldnode.abspath())
         libsocket_wrapper_so_path = blddir + '/default/third_party/socket_wrapper/libsocket-wrapper.so'
 
     conf.DEFINE('LIBSOCKET_WRAPPER_SO_PATH', libsocket_wrapper_so_path)