summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-11-23 14:06:52 +0100
committerStefan Metzmacher <metze@samba.org>2018-12-13 08:52:23 +0100
commit660b872163c9aee99627cd2952ac06c8df85cf22 (patch)
tree094042836caf31b01db16b6e9fe0de61bc7d9da2 /buildtools
parent57783d6295d1dcfcd4bd99951599c0765ae8c61b (diff)
downloadsamba-660b872163c9aee99627cd2952ac06c8df85cf22.tar.gz
wafsamba: fix pidl dependencies to rebuild on pidl changes
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_pidl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_pidl.py b/buildtools/wafsamba/samba_pidl.py
index 1e55892127e..3fecfa90eb9 100644
--- a/buildtools/wafsamba/samba_pidl.py
+++ b/buildtools/wafsamba/samba_pidl.py
@@ -86,8 +86,6 @@ def SAMBA_PIDL(bld, pname, source,
name = name,
samba_type = 'PIDL')
- # prime the list of nodes we are dependent on with the cached pidl sources
- t.allnodes = pidl_src_nodes
t.env.PIDL_LAUNCH_DIR = bld.srcnode.path_from(bld.bldnode)
pnode = bld.srcnode.find_resource('pidl/pidl')
@@ -97,6 +95,8 @@ def SAMBA_PIDL(bld, pname, source,
t.env.IDLSRC = snode.path_from(bld.srcnode)
t.env.OUTPUTDIR = bld.bldnode.path_from(bld.srcnode) + '/' + bld.path.find_dir(output_dir).path_from(bld.srcnode)
+ bld.add_manual_dependency(snode, pidl_src_nodes)
+
if generate_tables and table_header_idx is not None:
pidl_headers = LOCAL_CACHE(bld, 'PIDL_HEADERS')
pidl_headers[name] = [bld.path.find_or_declare(out_files[table_header_idx])]