Indepently configurable OpenSSL lib/bin file
This commit is contained in:
parent
b1819ff71d
commit
1cc0ec3f31
3 changed files with 19 additions and 13 deletions
|
@ -4,11 +4,15 @@ import sys
|
|||
import ctypes
|
||||
import ctypes.util
|
||||
|
||||
from Config import config
|
||||
|
||||
find_library_original = ctypes.util.find_library
|
||||
|
||||
|
||||
def getOpensslPath():
|
||||
if config.openssl_lib_file:
|
||||
return config.openssl_lib_file
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
lib_paths = [
|
||||
os.path.join(os.getcwd(), "tools/openssl/libeay32.dll"), # ZeroBundle Windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue