Build with libcrypto for https support

Este commit está contenido en:
Ehmry - 2020-01-23 15:14:41 +01:00
padre a8fea0dc44
commit ec5017a8b8
Se han modificado 3 ficheros con 7 adiciones y 0 borrados

Ver fichero

@ -10,3 +10,7 @@ bin = @["hqtoxbot"]
# Dependencies
requires "nim >= 1.0.0", "toxcore >= 0.2.0"
import distros
if detectOs(NixOS):
foreignDep "openssl"

Ver fichero

@ -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"

1
src/nim.cfg Archivo normal
Ver fichero

@ -0,0 +1 @@
-d:ssl