Fix libeay32.dll location

This commit is contained in:
shortcutme 2019-03-27 03:12:21 +01:00
parent f8f857c820
commit 3d975fd767
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -10,7 +10,7 @@ find_library_original = ctypes.util.find_library
def getOpensslPath(): def getOpensslPath():
if sys.platform.startswith("win"): if sys.platform.startswith("win"):
lib_path = os.path.dirname(os.path.abspath(__file__)) + "/../../lib/openssl/libeay32.dll" lib_path = os.path.dirname(os.path.abspath(__file__)) + "/../../dist/openssl/libeay32.dll"
elif sys.platform == "cygwin": elif sys.platform == "cygwin":
lib_path = "/bin/cygcrypto-1.0.0.dll" lib_path = "/bin/cygcrypto-1.0.0.dll"
elif os.path.isfile("../lib/libcrypto.so"): # ZeroBundle OSX elif os.path.isfile("../lib/libcrypto.so"): # ZeroBundle OSX