diff options
author | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-16 14:42:57 +0530 |
---|---|---|
committer | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-16 14:42:57 +0530 |
commit | e70c6af1882ad1a13567993a7a06b131fd6c9025 (patch) | |
tree | fe63170b5ac6f32de02af5657f04fbbf9033de84 | |
parent | c99407b07a1ed5a09a518dca0690732287b6605f (diff) | |
download | Nim-e70c6af1882ad1a13567993a7a06b131fd6c9025.tar.gz |
escape the include path
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 99e2534ec..69705db43 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -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 |