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
|
|
@ -92,6 +92,7 @@ case $uos in
|
||||||
;;
|
;;
|
||||||
*haiku* )
|
*haiku* )
|
||||||
myos="haiku"
|
myos="haiku"
|
||||||
|
LINK_FLAGS="$LINK_FLAGS -lroot -lnetwork"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 2>&1 "Error: unknown operating system: $uos"
|
echo 2>&1 "Error: unknown operating system: $uos"
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,8 @@ proc readCFiles(c: var ConfigData, osA, cpuA: int) =
|
||||||
# HACK: we conditionally add ``-lm -ldl``, so remove them from the
|
# HACK: we conditionally add ``-lm -ldl``, so remove them from the
|
||||||
# linker flags:
|
# linker flags:
|
||||||
c.linker.flags = c.linker.flags.replaceWord("-lm").replaceWord(
|
c.linker.flags = c.linker.flags.replaceWord("-lm").replaceWord(
|
||||||
"-ldl").strip
|
"-ldl").replaceWord("-lroot").replaceWord(
|
||||||
|
"-lnetwork").strip
|
||||||
else:
|
else:
|
||||||
if cmpIgnoreStyle(k.key, "libpath") == 0:
|
if cmpIgnoreStyle(k.key, "libpath") == 0:
|
||||||
c.libpath = k.value
|
c.libpath = k.value
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue