Merge branch 'master' of github.com:adamdruppe/arsd

This commit is contained in:
Adam D. Ruppe 2021-01-27 22:13:19 -05:00
commit aadfd142e3
1 changed files with 6 additions and 1 deletions

View File

@ -2088,7 +2088,12 @@ version(use_openssl) {
import core.stdc.stdio;
shared static this() {
version(Posix) {
version(OSX) {
ossllib_handle = dlopen("/usr/local/opt/openssl/lib/libssl.1.1.0.dylib", RTLD_NOW);
if(ossllib_handle is null)
ossllib_handle = dlopen("/usr/local/opt/openssl/lib/libssl.1.0.0.dylib", RTLD_NOW);
} else version(Posix) {
ossllib_handle = dlopen("libssl.so.1.1", RTLD_NOW);
if(ossllib_handle is null)
ossllib_handle = dlopen("libssl.so", RTLD_NOW);