1
0
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:
Andrew Tridgell 2010-04-26 11:11:21 +10:00
parent a241daae2d
commit c6b8ffd3a5

View File

@ -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))