Build with libcrypto for https support
This commit is contained in:
parent
a8fea0dc44
commit
ec5017a8b8
|
@ -10,3 +10,7 @@ bin = @["hqtoxbot"]
|
|||
# Dependencies
|
||||
|
||||
requires "nim >= 1.0.0", "toxcore >= 0.2.0"
|
||||
|
||||
import distros
|
||||
if detectOs(NixOS):
|
||||
foreignDep "openssl"
|
||||
|
|
|
@ -2,6 +2,8 @@ import toxcore
|
|||
|
||||
import std/asyncdispatch, std/base64, std/json, std/httpclient, std/os, std/strutils
|
||||
|
||||
{.passL: "-lcrypto".}
|
||||
|
||||
const
|
||||
readmeText = readFile "README.md"
|
||||
spaceApiUrl = "http://spaceapi.hq.c3d2.de:3000/spaceapi.json"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
-d:ssl
|
Loading…
Reference in New Issue