Fix C source gen.
This commit is contained in:
parent
c6c226a6a2
commit
b040f74356
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ proc deduplicateFiles(c: var ConfigData) =
|
|||
if c.explicitPlatforms and not c.platforms[osA][cpuA]: continue
|
||||
for dup in mitems(c.cfiles[osA][cpuA]):
|
||||
let key = $secureHashFile(build / dup)
|
||||
let val = build / buildDir(osA, cpuA) / extractFilename(dup)
|
||||
let val = buildDir(osA, cpuA) / extractFilename(dup)
|
||||
let orig = tab.getOrDefault(key)
|
||||
if orig.len > 0:
|
||||
# file is identical, so delete duplicate:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue