summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-26 11:11:21 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-26 14:36:54 +1000
commitc6b8ffd3a507854c0a9379f83c37fa63de4816ef (patch)
treef3079dcf15b76cace6381ed34597dfd64b5aff42
parenta241daae2d2c2acf150993dc90e234a851539963 (diff)
downloadsamba-c6b8ffd3a507854c0a9379f83c37fa63de4816ef.tar.gz
samba-c6b8ffd3a507854c0a9379f83c37fa63de4816ef.tar.bz2
samba-c6b8ffd3a507854c0a9379f83c37fa63de4816ef.zip
build: normalise paths in unique source checking
-rw-r--r--buildtools/wafsamba/samba_deps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
index eb66e448f9..e0c76e48ec 100644
--- a/buildtools/wafsamba/samba_deps.py
+++ b/buildtools/wafsamba/samba_deps.py
@@ -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))