mirror of https://github.com/adamdruppe/arsd.git
Merge branch 'master' of github.com:adamdruppe/arsd
This commit is contained in:
commit
aadfd142e3
7
http2.d
7
http2.d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue