Fixed compilation on macosx.
h3rald h3rald@h3rald.com
Thu, 10 Dec 2020 21:32:58 +0100
2 files changed,
5 insertions(+),
6 deletions(-)
M
lib/min_http.nim
→
lib/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]