openssl: Fallback for versions of macOS < 10.15.

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?
clean-macosx-x86-64
Doug Coleman 2019-09-28 09:40:47 -05:00
parent 6f6bc00cb1
commit afe188efb3
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ IN: openssl.libcrypto
<< "libcrypto" { << "libcrypto" {
{ [ os windows? ] [ "libcrypto-37.dll" ] } { [ 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" ] } { [ os unix? ] [ "libcrypto.so" ] }
} cond cdecl add-library >> } cond cdecl add-library >>

View File

@ -9,7 +9,7 @@ IN: openssl.libssl
<< "libssl" { << "libssl" {
{ [ os windows? ] [ "libssl-38.dll" ] } { [ 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" ] } { [ os unix? ] [ "libssl.so" ] }
} cond cdecl add-library >> } cond cdecl add-library >>