mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-04 02:44:44 +00:00
Improve code style a bit
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user