all repos — min @ 73d3471b3612ca68771ff107b3ae2c1d8bce2567

A small but practical concatenative programming language.

Updated vendor library paths to include architecture information as well.
h3rald h3rald@h3rald.com
Mon, 18 May 2026 11:09:16 +0200
commit

73d3471b3612ca68771ff107b3ae2c1d8bce2567

parent

8cab8ac86af681bd3940bfa63fb63f00b32fc2da

M minpkg/lib/min_crypto.nimminpkg/lib/min_crypto.nim

@@ -13,16 +13,23 @@ ../core/utils

{.compile: "../vendor/aes/libaes.c".} -when defined(ssl): +when defined(ssl): import openssl + + when defined(amd64): - when defined(windows) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows -lssl -lcrypto -lgdi32 -ladvapi32 -luser32 -lws2_32 -lcrypt32".} - elif defined(linux) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/linux -lssl -lcrypto".} - elif defined(macosx) and defined(amd64): - {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} + when defined(windows): + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows/x64 -lssl -lcrypto -lgdi32 -ladvapi32 -luser32 -lws2_32 -lcrypt32".} + elif defined(linux): + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/linux/x64 -lssl -lcrypto".} + elif defined(macosx): + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/macosx/x64 -lssl -lcrypto -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/unknown -lssl -lcrypto -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/unknown -lssl -lcrypto -Bdynamic".} + proc MD4(d: cstring, n: culong, md: cstring = nil): cstring {.cdecl, importc.} proc EVP_MD_CTX_new*(): EVP_MD_CTX {.cdecl, importc: "EVP_MD_CTX_new".}
M minpkg/lib/min_global.nimminpkg/lib/min_global.nim

@@ -1731,12 +1731,17 @@ # String operations

when not defined(nopcre): - when defined(windows) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/pcre/windows -lpcre".} - elif defined(linux) and defined(amd64): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/pcre/linux -lpcre".} - elif defined(macosx) and defined(amd64): - {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/pcre/macosx -lpcre -Bdynamic".} + when defined(amd64): + when defined(windows): + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/pcre/windows/x64 -lpcre".} + elif defined(linux): + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/pcre/linux/x64 -lpcre".} + elif defined(macosx) : + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/pcre/macosx/x64 -lpcre -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/pcre/unknown -lpcre -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/pcre/unknown -lpcre -Bdynamic".} def.symbol("search") do (i: In): let vals = i.expect("str", "str")
M minpkg/lib/min_http.nimminpkg/lib/min_http.nim

@@ -13,14 +13,18 @@ ../core/value,

../core/interpreter, ../core/utils -when defined(ssl) and defined(amd64): - - when defined(windows): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows -lssl -lcrypto -lws2_32".} - elif defined(linux): - {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/linux -lssl -lcrypto".} - elif defined(macosx): - {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} +when defined(ssl): + when defined(amd64): + when defined(windows) : + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/windows/x64 -lssl -lcrypto -lws2_32".} + elif defined(linux): + {.passL: "-static -L"&getProjectPath()&"/minpkg/vendor/openssl/linux/x64 -lssl -lcrypto".} + elif defined(macosx): + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/openssl/macosx/x64 -lssl -lcrypto -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/unknown -lssl -lcrypto -Bdynamic".} + else: + {.passL: "-Bstatic -L"&getProjectPath()&"/minpkg/vendor/unknown -lssl -lcrypto -Bdynamic".} var minUserAgent {.threadvar.}: string minUserAgent = "$1 http-module/$2" % [pkgName, pkgVersion]
M next-release.mdnext-release.md

@@ -2,5 +2,7 @@ ### Fixes and Improvements

* `sys.ls-r` now returns directories and symlinks as well. * Fixed compilation of dictionary literals (Closes #194). +* Displaying hint message in case of unhandled exceptions (Closes #196). +* Updated vendor library paths to include architecture information as well. * Upgraded OpenSSL to version 4.0.0.