--- config/nim.cfg.orig 2023-08-02 14:51:21 UTC +++ config/nim.cfg @@ -130,10 +130,7 @@ nimblepath="$home/.nimble/pkgs/" @end @if unix: - @if bsd: - # BSD got posix_spawn only recently, so we deactivate it for osproc: - define:useFork - @elif haiku: + @if haiku: gcc.options.linker = "-Wl,--as-needed -lnetwork" gcc.cpp.options.linker = "-Wl,--as-needed -lnetwork" clang.options.linker = "-Wl,--as-needed -lnetwork"