Works around a niminst bug. Related to commit 3813af63f5 and #4831.
This commit is contained in:
parent
d5ec9ba099
commit
c035fd93f4
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue