diff options
author | def <dennis@felsin9.de> | 2015-05-07 20:35:16 +0200 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-05-07 20:35:16 +0200 |
commit | a7b39e3ebf4e46f946176f3da1b11c4f52345b6f (patch) | |
tree | 98a149818ea7a7b20baeaf621ec0ee666bdbbb07 | |
parent | 81cff0908e23d5c902f00a86bb19e00de6589cc3 (diff) | |
download | Nim-a7b39e3ebf4e46f946176f3da1b11c4f52345b6f.tar.gz |
Improve code style a bit
-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 7d777b0e3..75cb1ef27 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -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: |