summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-28 18:55:12 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:18 +1100
commit03aebc2df870803ad6f80eb7595b55254d5ccfc5 (patch)
treefbafb1969e08ae965a1f7034395c7eb119ed8863 /buildtools
parent1c0e539cbbcb78b25a5dbbbf86ac5dc272e532bb (diff)
downloadsamba-03aebc2df870803ad6f80eb7595b55254d5ccfc5.tar.gz
samba-03aebc2df870803ad6f80eb7595b55254d5ccfc5.tar.bz2
samba-03aebc2df870803ad6f80eb7595b55254d5ccfc5.zip
wafsamba: keep a list of public headers
this will be used to construct test_headers.h, for testing our public headers
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wafsamba.py4
1 files changed, 3 insertions, 1 deletions
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