No lib symlinks in openwrt

python3android
Dmitri Bogomolov 5 years ago
parent 4b995e7996
commit 50b74c2223
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

@ -93,7 +93,7 @@ def check_openssl():
import os.path
paths.insert(0, os.path.join(sys._MEIPASS, 'libeay32.dll'))
else:
paths = ['libcrypto.so']
paths = ['libcrypto.so', 'libcrypto.so.1.0.0']
if sys.platform == 'darwin':
paths.extend([
'libcrypto.dylib',

@ -534,6 +534,8 @@ def loadOpenSSL():
else:
libdir.append('libcrypto.so')
libdir.append('libssl.so')
libdir.append('libcrypto.so.1.0.0')
libdir.append('libssl.so.1.0.0')
if 'linux' in sys.platform or 'darwin' in sys.platform or 'bsd' in sys.platform:
libdir.append(find_library('ssl'))
elif 'win32' in sys.platform or 'win64' in sys.platform:

Loading…
Cancel
Save