No lib symlinks in openwrt
This commit is contained in:
parent
4b995e7996
commit
50b74c2223
|
@ -93,7 +93,7 @@ def check_openssl():
|
||||||
import os.path
|
import os.path
|
||||||
paths.insert(0, os.path.join(sys._MEIPASS, 'libeay32.dll'))
|
paths.insert(0, os.path.join(sys._MEIPASS, 'libeay32.dll'))
|
||||||
else:
|
else:
|
||||||
paths = ['libcrypto.so']
|
paths = ['libcrypto.so', 'libcrypto.so.1.0.0']
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
paths.extend([
|
paths.extend([
|
||||||
'libcrypto.dylib',
|
'libcrypto.dylib',
|
||||||
|
|
|
@ -534,6 +534,8 @@ def loadOpenSSL():
|
||||||
else:
|
else:
|
||||||
libdir.append('libcrypto.so')
|
libdir.append('libcrypto.so')
|
||||||
libdir.append('libssl.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:
|
if 'linux' in sys.platform or 'darwin' in sys.platform or 'bsd' in sys.platform:
|
||||||
libdir.append(find_library('ssl'))
|
libdir.append(find_library('ssl'))
|
||||||
elif 'win32' in sys.platform or 'win64' in sys.platform:
|
elif 'win32' in sys.platform or 'win64' in sys.platform:
|
||||||
|
|
Reference in New Issue
Block a user