Fixed library path.
h3rald h3rald@h3rald.com
Sat, 06 Jan 2024 17:12:07 +0100
1 files changed,
5 insertions(+),
5 deletions(-)
jump to
M
src/litestorepkg/lib/jwt.nim
→
src/litestorepkg/lib/jwt.nim
@@ -1,14 +1,14 @@
import std/[ - openssl, base64, strutils, macros, json, times, pegs, sequtils, os + openssl, base64, strutils, json, times, pegs, sequtils ] -import types, core +import types when defined(windows) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt".} + {.passL: "-static -L./src/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt".} elif defined(linux) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/linux -lssl -lcrypto".} + {.passL: "-static -L./src/litestorepkg/vendor/openssl/linux -lssl -lcrypto".} elif defined(macosx) and defined(amd64): - {.passL: "-Bstatic -L"&getProjectPath()&"/litestorepkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} + {.passL: "-Bstatic -L./src/litestorepkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} proc EVP_PKEY_new(): EVP_PKEY {.cdecl, importc.}