File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ elif defined(windows):
2727 localPassC :
2828 " -D_HAS_EXCEPTIONS=0 -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS"
2929 .}
30+ {.passl : " -lstdc++" .}
3031
3132when defined (i386):
3233 {.passc : " -msse2" .}
@@ -197,15 +198,16 @@ when BORINGSS_USE_ASM:
197198 result = newStmtList ()
198199 for f in files:
199200 let (_, name, _) = splitFile (f)
200- let obj = ( outDir / name) & " .obj"
201+ let obj = normalizePath (( outDir / name) & " .obj" , dirSep = '/' )
201202 let objLit = newLit (obj)
202203 result .add quote do :
203204 {.link : `objLit`.}
204205
205206 static :
206207 for asmPathRel in asmFiles:
207208 let asmPath = normalizePath (baseDir / asmPathRel, dirSep = '/' )
208- let outObj = outDir / (asmPath.splitFile.name & " .obj" )
209+ let outObj =
210+ normalizePath (outDir / (asmPath.splitFile.name & " .obj" ), dirSep = '/' )
209211 let hashPath = outObj & " .md5"
210212 let srcHash = getMD5 (staticRead (asmPath))
211213 let cachedHash =
You can’t perform that action at this time.
0 commit comments