Skip to content

Commit 656f781

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boringssl.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ when BORINGSS_USE_ASM:
204204

205205
static:
206206
for asmPathRel in asmFiles:
207-
let asmPath = baseDir / asmPathRel
207+
var asmPath = baseDir / asmPathRel
208+
asmPath.normalizePath(dirSep = '/')
208209
let outObj = outDir / (asmPath.splitFile.name & ".obj")
209210
let hashPath = outObj & ".md5"
210211
let srcHash = getMD5(staticRead(asmPath))

0 commit comments

Comments
 (0)