mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
testsuite/headers/wscript_build: 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:
parent
0c423a3a92
commit
ca5008a49d
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user