Turn loadDynamicLib msg into hintDependency

This commit is contained in:
Adam Strzelecki 2015-06-06 11:22:49 +02:00
commit 00366cb8d4
2 changed files with 7 additions and 5 deletions

View file

@ -505,8 +505,7 @@ 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)
rawMessage(hintDependency, lib.path.strVal)
var loadlib: Rope = nil
for i in countup(0, high(s)):
inc(m.labels)