all repos — min @ 88e4f90f6e717a0c8df091a5c5f532b91a00f85a

A small but practical concatenative programming language.

Fixed compilation on macosx.
h3rald h3rald@h3rald.com
Thu, 10 Dec 2020 21:32:58 +0100
commit

88e4f90f6e717a0c8df091a5c5f532b91a00f85a

parent

dfd5dd21d2ad8c467b3d90bbc4d001698667f669

2 files changed, 5 insertions(+), 6 deletions(-)

jump to
M lib/min_http.nimlib/min_http.nim

@@ -9,11 +9,10 @@

when defined(amd64): when defined(windows): {.passL: "-static -Lvendor/openssl/windows -lssl -lcrypto -lws2_32".} - else: - if defined(linux): - {.passL: "-static -Lvendor/openssl/linux -lssl -lcrypto".} - elif defined(macosx): - {.passL: "-Bstatic -Lvendor/openssl/macosx -lssl -lcrypto -Bdynamic".} + elif defined(linux): + {.passL: "-static -Lvendor/openssl/linux -lssl -lcrypto".} + elif defined(macosx): + {.passL: "-Bstatic -Lvendor/openssl/macosx -lssl -lcrypto -Bdynamic".} var minUserAgent {.threadvar.} : string minUserAgent = "$1 http-module/$2" % [pkgName, pkgVersion]
M min.nimsmin.nims

@@ -22,4 +22,4 @@ switch("dynlibOverride", "crypto-")

switch("define", "sslVersion:(") else: switch("dynlibOverride", "ssl") - switch("dynlibOverride", "crypto")+ switch("dynlibOverride", "crypto")