third_party/resolv_wrapper/wscript: update to handle waf 2.0.4
authorAlexander Bokovoy <ab@samba.org>
Fri, 2 Feb 2018 14:34:33 +0000 (16:34 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:24 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
third_party/resolv_wrapper/wscript

index 7cd1d90b8fa8fbbcb3b7b3d60015cdb9e8086c85..93fec427b5deff09c1e7398433c298586565b457 100644 (file)
@@ -55,7 +55,7 @@ def configure(conf):
             conf.DEFINE("HAVE_NS_NAME_COMPRESS", 1)
 
         # Create full path to resolv_wrapper
-        blddir = os.path.realpath(conf.blddir)
+        blddir = os.path.realpath(conf.bldnode.abspath())
         libresolv_wrapper_so_path = blddir + '/default/third_party/resolv_wrapper/libresolv-wrapper.so'
 
     conf.DEFINE('LIBRESOLV_WRAPPER_SO_PATH', libresolv_wrapper_so_path)