fixes #6452
This commit is contained in:
parent
4b350d2632
commit
7b63ee85b9
1 changed files with 3 additions and 2 deletions
|
|
@ -652,9 +652,10 @@ proc getLinkCmd(projectfile, objfiles: string): string =
|
|||
else:
|
||||
var linkerExe = getConfigVar(cCompiler, ".linkerexe")
|
||||
if len(linkerExe) == 0: linkerExe = cCompiler.getLinkerExe
|
||||
# bug #6452: We must not use ``quoteShell`` here for ``linkerExe``
|
||||
if needsExeExt(): linkerExe = addFileExt(linkerExe, "exe")
|
||||
if noAbsolutePaths(): result = quoteShell(linkerExe)
|
||||
else: result = quoteShell(joinPath(ccompilerpath, linkerExe))
|
||||
if noAbsolutePaths(): result = linkerExe
|
||||
else: result = joinPath(ccompilerpath, linkerExe)
|
||||
let buildgui = if optGenGuiApp in gGlobalOptions: CC[cCompiler].buildGui
|
||||
else: ""
|
||||
var exefile, builddll: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue