Forward pragmas to toast

This commit is contained in:
Ganesh Viswanathan 2020-07-14 18:08:59 -05:00
commit 6ffacf92fc
15 changed files with 162 additions and 306 deletions

View file

@ -22,13 +22,13 @@ when not libssh2Static:
when not defined(Windows) and not isDefined(libssh2JBB):
proc zlibVersion(): cstring {.importc, dynlib: libssh2LPath.}
else:
cPassL("-lpthread")
cImport(libssh2Path, recurse = true, flags = "-c -E_ -F_")
when not defined(Windows) and not isDefined(libssh2JBB):
proc zlibVersion(): cstring {.importc.}
{.passL: "-lpthread".}
assert libssh2_init(0) == 0
let