Works around a niminst bug. Related to commit 3813af63f5 and #4831.

This commit is contained in:
Dominik Picheta 2016-09-29 20:59:14 +02:00
commit c035fd93f4
2 changed files with 3 additions and 1 deletions

View file

@ -447,7 +447,8 @@ proc readCFiles(c: var ConfigData, osA, cpuA: int) =
# HACK: we conditionally add ``-lm -ldl``, so remove them from the
# linker flags:
c.linker.flags = c.linker.flags.replaceWord("-lm").replaceWord(
"-ldl").strip
"-ldl").replaceWord("-lroot").replaceWord(
"-lnetwork").strip
else:
if cmpIgnoreStyle(k.key, "libpath") == 0:
c.libpath = k.value