From: Alexander Bokovoy Date: Fri, 2 Feb 2018 14:34:32 +0000 (+0200) Subject: testsuite/headers/wscript_build: update to handle waf 2.0.4 X-Git-Tag: tdb-1.3.17~1828 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca5008a49d72ea2078d0b35dc28dfade17fbdbad;p=thirdparty%2Fsamba.git testsuite/headers/wscript_build: update to handle waf 2.0.4 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- diff --git a/testsuite/headers/wscript_build b/testsuite/headers/wscript_build index 64b10ba6e41..477a977e11b 100644 --- a/testsuite/headers/wscript_build +++ b/testsuite/headers/wscript_build @@ -13,7 +13,7 @@ def build_test_headers(task): f.write('#include "%s"\n' % os.path.normpath(h)) f.close() -relpath1 = os_path_relpath(bld.srcnode.abspath(), bld.curdir) +relpath1 = os_path_relpath(bld.srcnode.abspath(), bld.path.abspath()) public_headers = [] for h in bld.env.public_headers_list: public_headers.append(os.path.join(relpath1, bld.env.build_public_headers, h))