chore: more build fix

This commit is contained in:
kaichaosun 2025-09-05 17:48:56 +08:00
parent cd1806b57f
commit 5e8db67378

View File

@ -64,7 +64,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 " & params & " " &
srcDir & name & ".nim"
proc buildLibrary(name: string, srcDir = "./", params = "", `type` = "static") =