bugfix: openssl import for macosx

This commit is contained in:
Araq 2012-12-19 21:45:18 +01:00
commit b6c8e16b0f
4 changed files with 11 additions and 7 deletions

View file

@ -48,14 +48,14 @@ when defined(WINDOWS):
else:
const
versions = "(|.1.0.0|.0.9.9|.0.9.8|.0.9.7|.0.9.6|.0.9.5|.0.9.4)"
when defined(posix):
const
DLLSSLName = "libssl.so" & versions
DLLUtilName = "libcrypto.so" & versions
else:
when defined(macosx):
const
DLLSSLName = "libssl.dylib" & versions
DLLUtilName = "libcrypto.dylib" & versions
else:
const
DLLSSLName = "libssl.so" & versions
DLLUtilName = "libcrypto.so" & versions
type
SslStruct {.final, pure.} = object