From 03aebc2df870803ad6f80eb7595b55254d5ccfc5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Feb 2011 18:55:12 +1100 Subject: wafsamba: keep a list of public headers this will be used to construct test_headers.h, for testing our public headers --- buildtools/wafsamba/wafsamba.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba/wafsamba.py') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 1b38796a58..1ad816e0b5 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -925,7 +925,9 @@ def PUBLIC_HEADERS(bld, public_headers, header_path=None): rule=symlink_header, source=h_name, target=target) - + if not bld.env.public_headers_list: + bld.env.public_headers_list = [] + bld.env.public_headers_list.append(os.path.join(inst_path, inst_name)) return ret Build.BuildContext.PUBLIC_HEADERS = PUBLIC_HEADERS -- cgit