We probably want a word that finds libssl.x.dylib where x is the highest version so that we don't have to update the libary-loading code in the future.
This is all because loading libssl.dylib causes a SIGABORT signal 6, perhaps there's another workaround?
<< "libcrypto" {
{ [ os windows? ] [ "libcrypto-37.dll" ] }
- { [ os macosx? ] [ { "libcrypto.46.dylib" "libcrypto.44.dylib" } find-library-from-list ] }
+ { [ os macosx? ] [ { "libcrypto.46.dylib" "libcrypto.44.dylib" "libcrypto.dylib" } find-library-from-list ] }
{ [ os unix? ] [ "libcrypto.so" ] }
} cond cdecl add-library >>
<< "libssl" {
{ [ os windows? ] [ "libssl-38.dll" ] }
- { [ os macosx? ] [ { "libssl.44.dylib" "libssl.42.dylib" } find-library-from-list ] }
+ { [ os macosx? ] [ { "libssl.44.dylib" "libssl.42.dylib" "libssl.dylib" } find-library-from-list ] }
{ [ os unix? ] [ "libssl.so" ] }
} cond cdecl add-library >>