Improve code style a bit

This commit is contained in:
def
2015-05-07 20:35:16 +02:00
parent 81cff0908e
commit a7b39e3ebf

View File

@@ -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: