escape the include path
This commit is contained in:
parent
c99407b07a
commit
e70c6af188
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ proc getCompileCFileCmd*(conf: ConfigRef; cfile: Cfile): string =
|
|||
includeCmd = ""
|
||||
compilePattern = getCompilerExe(conf, c, cfile.cname)
|
||||
|
||||
includeCmd.add(join([CC[c].includeCmd, conf.projectPath.string]))
|
||||
includeCmd.add(join([CC[c].includeCmd, quoteShell(conf.projectPath.string)]))
|
||||
|
||||
var cf = if noAbsolutePaths(conf): AbsoluteFile extractFilename(cfile.cname.string)
|
||||
else: cfile.cname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue