diff --git a/waflib/Node.py b/waflib/Node.py index 7d65c5d3..a7571c36 100644 --- a/waflib/Node.py +++ b/waflib/Node.py @@ -683,6 +683,7 @@ class Node(object): lst.append(cur.name) cur = cur.parent # the file is external to the current project, make a fake root in the current build directory + lst.reverse() return self.ctx.bldnode.make_node(['__root__'] + lst) def find_resource(self, lst):