Merge pull request #9950 from nc-x/fix-nimsuggest-build
Fix nimsuggest build with clang on windows
This commit is contained in:
commit
8dfe7c0963
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