summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-12-09 23:05:44 +0200
committerZahary Karadjov <zahary@gmail.com>2013-12-09 23:06:11 +0200
commit14dd3113a255eb59a76b6e1b3346fd9d5122038d (patch)
tree84af6fd3e85668cdc0b7977f9cd705ab6278407e /compiler
parent9486670e935d5b641bb3ebbc0c62c35024fc0bf7 (diff)
downloadNim-14dd3113a255eb59a76b6e1b3346fd9d5122038d.tar.gz
fix computed dynlib names; fixes #718
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index ad9ade63c..b0c90de76 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -944,9 +944,9 @@ proc genMainProc(m: BModule) =
   const 
     CommonMainBody =
         "\tsystemDatInit();$n" &
+        "\tsystemInit();$n" &
         "$1" &
         "$2" &
-        "\tsystemInit();$n" &
         "$3" &
         "$4"
     PosixNimMain =