Skip to content

Commit 3713e95

Browse files
committed
fix: workaround for os module using wrong path separator when cross compiling
1 parent 4fb03ee commit 3713e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boringssl.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ when BORINGSS_USE_ASM:
207207
let asmPath = baseDir / asmPathRel
208208
let outObj = outDir / (asmPath.splitFile.name & ".obj")
209209
let hashPath = outObj & ".md5"
210-
let srcHash = getMD5(staticRead(asmPath))
210+
let srcHash = getMD5(staticRead(asmPath).normalizePath(dirSep = '/'))
211211
let cachedHash =
212212
if fileExists(hashPath):
213213
readFile(hashPath)

0 commit comments

Comments
 (0)