`git clone https://github.com/openssl/openssl.git cd openssl #Openssl does not 
build for me with gcc -..-ls export cc=/usr/bin/clang ./config make mkdir 
/home/david/nimPlayground/sslfun cp *.a /home/david/nimPlayground/sslfun/ cd 
/home/david/nimPlayground/sslfun/ staticssl.nim import asyncdispatch, 
httpclient var client = newAsyncHttpClient() echo waitFor 
client.getContent("https://google.com";) nim c -d:ssl --threads:on 
--dynlibOverride:libssl --dynlibOverride:libcrypto --passL:libssl.a 
--passL:libcrypto.a staticssl.nim `

Run

Reply via email to