implements #258; activate via --verbosity:2

This commit is contained in:
Araq
2013-04-13 01:24:57 +02:00
parent 18fbaab216
commit a3864aea23

View File

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