From afe188efb363988632a6e220561aa8dca5b44623 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 28 Sep 2019 09:40:47 -0500 Subject: [PATCH] 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? --- basis/openssl/libcrypto/libcrypto.factor | 2 +- basis/openssl/libssl/libssl.factor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/openssl/libcrypto/libcrypto.factor b/basis/openssl/libcrypto/libcrypto.factor index 1273ba6a21..68065aef13 100644 --- a/basis/openssl/libcrypto/libcrypto.factor +++ b/basis/openssl/libcrypto/libcrypto.factor @@ -11,7 +11,7 @@ IN: openssl.libcrypto << "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 >> diff --git a/basis/openssl/libssl/libssl.factor b/basis/openssl/libssl/libssl.factor index 5337751d30..444f0f45ca 100644 --- a/basis/openssl/libssl/libssl.factor +++ b/basis/openssl/libssl/libssl.factor @@ -9,7 +9,7 @@ IN: openssl.libssl << "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 >>