diff options
author | Charlie Barto <bartoc@umich.edu> | 2018-08-03 19:18:27 -0400 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-04 01:18:27 +0200 |
commit | e403ef25aceed929a3118e0dc2104c29e824dfcd (patch) | |
tree | 1e56e717bf0c030a930c890d59023cc23b628f2a | |
parent | 9a390d66fb86eb68851000738be5744bea1261a0 (diff) | |
download | Nim-e403ef25aceed929a3118e0dc2104c29e824dfcd.tar.gz |
fix shell quoting error for static libraries (#8532)
-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 a90442369..16b0d614d 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -659,7 +659,7 @@ proc getLinkCmd(conf: ConfigRef; projectfile, objfiles: string): string = libname = getCurrentDir() / libname else: libname = (libNameTmpl(conf) % splitFile(conf.projectName).name) - result = CC[conf.cCompiler].buildLib % ["libfile", libname, + result = CC[conf.cCompiler].buildLib % ["libfile", quoteShell(libname), "objfiles", objfiles] else: var linkerExe = getConfigVar(conf, conf.cCompiler, ".linkerexe") |