Skip to content

Commit

Permalink
Update jwt.nim
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald authored Jan 7, 2024
1 parent 6617314 commit 86f2e52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/litestorepkg/lib/jwt.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import std/[
import types

when defined(windows) and defined(amd64):
{.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt -lws2_32 -lcrypt32 -ltimezone".}
{.emit: """#include <time.h>""".}
{.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt -lws2_32 -lcrypt32".}
elif defined(linux) and defined(amd64):
{.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/linux -lssl -lcrypto".}
elif defined(macosx) and defined(amd64):
Expand Down

0 comments on commit 86f2e52

Please sign in to comment.