[OSX] Try to seek homebrew installation of openssl, fixes #76

This commit is contained in:
Francis Chong 2013-05-14 00:45:03 +08:00
parent de98abb466
commit a041d48375
1 changed files with 17 additions and 13 deletions

View File

@ -413,6 +413,10 @@ except:
except:
try:
OpenSSL = _OpenSSL('libcrypto.dylib')
except:
try:
# try homebrew installation
OpenSSL = _OpenSSL('/usr/local/opt/openssl/lib/libcrypto.dylib')
except:
try:
from os import path