mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 14:33:12 +00:00
chore: more fix
This commit is contained in:
parent
8ca15bdd70
commit
a9bb16cfe5
@ -37,6 +37,7 @@ then
|
||||
tar -xzf "${tarball}" -C "$tmpdir"
|
||||
mv "$tmpdir/release/librln.a" "${output_filename}"
|
||||
rm -rf "${tarball}" "$tmpdir"
|
||||
echo "finished building ${output_filename}"
|
||||
else
|
||||
echo "Failed to download ${tarball}"
|
||||
# Build rln instead
|
||||
|
||||
@ -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 " & params & " " &
|
||||
exec "nim " & lang & " --out:build/" & name & " --mm:refc " & " --passL:build/librln.a --passL:-L" & getCurrentDir() & " " & params & " " &
|
||||
srcDir & name & ".nim"
|
||||
|
||||
proc buildLibrary(name: string, srcDir = "./", params = "", `type` = "static") =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user