Fixes.
h3rald h3rald@h3rald.com
Sun, 08 Oct 2023 11:13:06 +0200
3 files changed,
6 insertions(+),
0 deletions(-)
M
minpkg/lib/min_crypto.nim
→
minpkg/lib/min_crypto.nim
@@ -40,6 +40,8 @@ i.push s.getString.decode.newVal
when defined(ssl): + import std/macros + when defined(windows) and defined(amd64): {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt".} elif defined(linux) and defined(amd64):
M
minpkg/lib/min_http.nim
→
minpkg/lib/min_http.nim
@@ -13,6 +13,8 @@ ../core/interpreter,
../core/utils when defined(ssl) and defined(amd64): + import std/macros + when defined(windows): {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows -lssl -lcrypto -lws2_32".} elif defined(linux):
M
minpkg/lib/min_str.nim
→
minpkg/lib/min_str.nim
@@ -15,6 +15,8 @@ proc str_module*(i: In) =
let def = i.define() when not defined(nopcre): + import std/macros + when defined(windows) and defined(amd64): {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/pcre/windows -lpcre".} elif defined(linux) and defined(amd64):