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