mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
build: normalise paths in unique source checking
This commit is contained in:
parent
a241daae2d
commit
c6b8ffd3a5
@ -240,7 +240,7 @@ def check_duplicate_sources(bld, tgt_list):
|
||||
|
||||
for t in tgt_list:
|
||||
obj_sources = getattr(t, 'source', '')
|
||||
tpath = os_path_relpath(t.path.abspath(bld.env), t.env.BUILD_DIRECTORY + '/default')
|
||||
tpath = os.path.normpath(os_path_relpath(t.path.abspath(bld.env), t.env.BUILD_DIRECTORY + '/default'))
|
||||
obj_sources = bld.SUBDIR(tpath, obj_sources)
|
||||
t.samba_source_set = set(TO_LIST(obj_sources))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user