2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 13:30:32 +01:00
This commit is contained in:
Thomas Nagy 2017-08-08 01:01:48 +02:00
parent dcc09cb0df
commit a28f9475f3

View File

@ -98,10 +98,11 @@ class bld(Build.BuildContext):
st.update(tsk.inputs) st.update(tsk.inputs)
st.update(self.node_deps.get(tsk.uid(), [])) st.update(self.node_deps.get(tsk.uid(), []))
lst = []
for k in ('wscript', 'wscript_build'): for k in ('wscript', 'wscript_build'):
n = tg.path.find_node(k) n = tg.path.find_node(k)
if n: if n:
lst.append(n.path.abspath()) lst.append(n.abspath())
lst.extend(sorted(x.abspath() for x in st)) lst.extend(sorted(x.abspath() for x in st))
tss = [os.stat(x).st_mtime for x in lst] tss = [os.stat(x).st_mtime for x in lst]