Updated 32bit libraries and typo
This commit is contained in:
parent
7c9a610f47
commit
50a09dfe02
1 changed files with 8 additions and 6 deletions
14
ltls.pbi
14
ltls.pbi
|
@ -63,8 +63,7 @@ Module ltls
|
|||
PrototypeC.i Pr_tls_free(*ctx)
|
||||
PrototypeC.i Pr_tls_config_free(*cfg)
|
||||
|
||||
|
||||
#TLS_WANT_POLLIN = -2
|
||||
#TLS_WANT_POLLIN = -2
|
||||
#TLS_WANT_POLLOUT = -3
|
||||
|
||||
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
|
||||
|
@ -80,12 +79,15 @@ Module ltls
|
|||
EndIf
|
||||
EndIf
|
||||
CompilerElse
|
||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.22")
|
||||
If Not IsLibrary(libressl_tls)
|
||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.17")
|
||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
||||
If Not IsLibrary(libressl_tls)
|
||||
lhs_log::Out("Library not found: /usr/lib/libtls.so.20 or .17")
|
||||
End
|
||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.17")
|
||||
If Not IsLibrary(libressl_tls)
|
||||
lhs_log::Out("Library not found: /usr/lib/libtls.so.22 or .20 or .17")
|
||||
End
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
CompilerEndIf
|
||||
|
|
Loading…
Reference in a new issue