Fix nimsuggest build with clang on windows
This commit is contained in:
parent
e4ae7a8929
commit
b245b80e72
1 changed files with 1 additions and 1 deletions
|
|
@ -780,7 +780,7 @@ proc linkViaResponseFile(conf: ConfigRef; cmd: string) =
|
||||||
let linkerArgs = conf.projectName & "_" & "linkerArgs.txt"
|
let linkerArgs = conf.projectName & "_" & "linkerArgs.txt"
|
||||||
let args = cmd.substr(i)
|
let args = cmd.substr(i)
|
||||||
# GCC's response files don't support backslashes. Junk.
|
# GCC's response files don't support backslashes. Junk.
|
||||||
if conf.cCompiler == ccGcc:
|
if conf.cCompiler == ccGcc or conf.cCompiler == ccCLang:
|
||||||
writeFile(linkerArgs, args.replace('\\', '/'))
|
writeFile(linkerArgs, args.replace('\\', '/'))
|
||||||
else:
|
else:
|
||||||
writeFile(linkerArgs, args)
|
writeFile(linkerArgs, args)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue