Improve code style a bit
This commit is contained in:
parent
81cff0908e
commit
a7b39e3ebf
1 changed files with 1 additions and 1 deletions
|
|
@ -668,7 +668,7 @@ proc callCCompiler*(projectfile: string) =
|
|||
it = PStrEntry(it.next)
|
||||
|
||||
if optGenStaticLib in gGlobalOptions:
|
||||
let (_, name, _) = splitFile(gProjectName)
|
||||
let name = splitFile(gProjectName).name
|
||||
linkCmd = CC[c].buildLib % ["libfile", (libNameTmpl() % name),
|
||||
"objfiles", objfiles]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue