chore: fix build

This commit is contained in:
kaichaosun 2025-09-09 15:19:27 +08:00
parent 8a1a17e93c
commit 30e5196420

View File

@ -65,7 +65,7 @@ proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
mkDir "build"
ensureRln()
exec "nim " & lang & " --out:build/" & name & " --mm:refc " & " --passL:build/librln.a --passL:-L" & getCurrentDir() & " " & params & " " &
exec "nim " & lang & " --out:build/" & name & " --mm:refc " & " --passL:build/librln.a --passL:-lm --passL:-L" & getCurrentDir() & " " & params & " " &
srcDir & name & ".nim"
proc buildLibrary(name: string, srcDir = "./", params = "", `type` = "static") =