Making OpenSSL recognize Macs as Unix systems

This commit is contained in:
Tim Bauman 2013-03-24 23:08:07 -04:00
parent 282b7c5a18
commit 23a9f16933
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ except:
lib_path = path.join(sys._MEIPASS, "libeay32.dll")
OpenSSL = _OpenSSL(lib_path)
if 'linux' in sys.platform:
if 'linux' in sys.platform or 'darwin' in sys.platform:
from ctypes.util import find_library
OpenSSL = _OpenSSL(find_library('ssl'))