]> gitweb.factorcode.org Git - factor.git/commitdiff
openssl: Fallback for versions of macOS < 10.15.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 28 Sep 2019 14:40:47 +0000 (09:40 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 28 Sep 2019 14:40:47 +0000 (09:40 -0500)
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
basis/openssl/libssl/libssl.factor

index 1273ba6a21138a2103d0e22e711b7f8d05a7115b..68065aef13bf23456d4d87e51db7e9389abbd0b8 100644 (file)
@@ -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 >>
 
index 5337751d3071e95f59d02ea9d10ad7f18e100971..444f0f45cadb6db6889f720b439db030b799bd01 100644 (file)
@@ -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 >>