openssl: adjust to make XonX mode work for Catalina

Same repair as #2859, but for XonX mode.
This commit is contained in:
Matthew Flatt 2019-11-26 04:47:01 -07:00
parent 1048341c62
commit 256f57bfd8

View File

@ -55,7 +55,12 @@
;; Don't use the versionless dylib on macOS, as it aborts on 10.15
(case (cross-system-type)
[(macosx) versions]
[else (cons "" versions)]))) ;; Versionless (eg from devel pkg)
[else
(case (path->string (system-library-subpath #f))
[("x86_64-darwin" "i386-darwin") versions]
[else
(cons "" ; versionless (eg from devel pkg)
versions)])])))
(define libcrypto-load-fail-reason #f)