diff --git a/config/nim.cfg b/config/nim.cfg index 26948ba928..6a259321fb 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -134,11 +134,11 @@ nimblepath="$home/.nimble/pkgs/" # BSD got posix_spawn only recently, so we deactivate it for osproc: define:useFork @elif haiku: - gcc.options.linker = "-Wl,--as-needed -lnetwork -lbsd" - gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork -lbsd" - clang.options.linker = "-Wl,--as-needed -lnetwork -lbsd" - clang.cpp.options.linker = "-Wl,--as-needed -lnetwork -lbsd" - tcc.options.linker = "-Wl,--as-needed -lnetwork -lbsd" + gcc.options.linker = "-Wl,--as-needed -lnetwork" + gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork" + clang.options.linker = "-Wl,--as-needed -lnetwork" + clang.cpp.options.linker = "-Wl,--as-needed -lnetwork" + tcc.options.linker = "-Wl,--as-needed -lnetwork" @elif not genode: # -fopenmp gcc.options.linker = "-ldl"