Fixes.
h3rald h3rald@h3rald.com
Sun, 08 Oct 2023 11:16:36 +0200
3 files changed,
2 insertions(+),
4 deletions(-)
M
minpkg/lib/min_crypto.nim
→
minpkg/lib/min_crypto.nim
@@ -1,6 +1,7 @@
import std/[base64, strutils, + macros, # Needed only for getProjectPath times] import ../vendor/aes/aes@@ -39,8 +40,6 @@ let s = vals[0]
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".}
M
minpkg/lib/min_http.nim
→
minpkg/lib/min_http.nim
@@ -2,6 +2,7 @@ import
std/[httpclient, asynchttpserver, asyncdispatch, + macros, # Needed only for getProjectPath strutils, uri, critbits]@@ -13,7 +14,6 @@ ../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".}
M
minpkg/lib/min_str.nim
→
minpkg/lib/min_str.nim
@@ -15,7 +15,6 @@ 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".}