summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-04-13 01:24:57 +0200
committerAraq <rumpf_a@web.de>2013-04-13 01:24:57 +0200
commita3864aea23da4dfa126d1ae6b65d632ff4f98e77 (patch)
tree496dc6e55328917f6fb5eee0968b612b19815b86 /compiler/cgen.nim
parent18fbaab216e3dc59011b871849ebcf4bfab94afd (diff)
downloadNim-a3864aea23da4dfa126d1ae6b65d632ff4f98e77.tar.gz
implements #258; activate via --verbosity:2
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r--compiler/cgen.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index d7f8c4e22..753576aa0 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -575,6 +575,8 @@ proc loadDynamicLib(m: BModule, lib: PLib) =
     if lib.path.kind in {nkStrLit..nkTripleStrLit}:
       var s: TStringSeq = @[]
       libCandidates(lib.path.strVal, s)
+      if gVerbosity >= 2:
+        MsgWriteln("Dependency: " & lib.path.strVal)
       var loadlib: PRope = nil
       for i in countup(0, high(s)): 
         inc(m.labels)