mirror of https://gitlab.com/ita1024/waf.git
ensure that the drive letters are properly handled when dealing with foreign files
This commit is contained in:
parent
b8c19f423a
commit
7604f729c3
|
@ -684,6 +684,8 @@ class Node(object):
|
|||
cur = cur.parent
|
||||
# the file is external to the current project, make a fake root in the current build directory
|
||||
lst.reverse()
|
||||
if lst and Utils.is_win32 and len(lst[0]) == 2 and lst[0].endswith(':'):
|
||||
lst[0] = lst[0][0]
|
||||
return self.ctx.bldnode.make_node(['__root__'] + lst)
|
||||
|
||||
def find_resource(self, lst):
|
||||
|
|
Loading…
Reference in New Issue