diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-24 14:08:43 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-24 16:23:46 -0400 |
commit | aad497cb1c79b2bf751b45a38aac60595c7cc382 (patch) | |
tree | bf21a7bc4d18a083421feb34bc936671eea0bd89 | |
parent | e265eb2f51a13d0a1172330075bdd1c69aed5e8c (diff) | |
download | libgit2-aad497cb1c79b2bf751b45a38aac60595c7cc382.tar.gz |
openssl: dynamically load on macOS
-rw-r--r-- | src/streams/openssl_dynamic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/streams/openssl_dynamic.c b/src/streams/openssl_dynamic.c index 37d7e7342..da16b6ed7 100644 --- a/src/streams/openssl_dynamic.c +++ b/src/streams/openssl_dynamic.c @@ -122,7 +122,9 @@ int git_openssl_stream_dynamic_init(void) int err = 0; if ((openssl_handle = dlopen("libssl.so.1.1", RTLD_NOW)) == NULL && + (openssl_handle = dlopen("libssl.1.1.dylib", RTLD_NOW)) == NULL && (openssl_handle = dlopen("libssl.so.1.0.0", RTLD_NOW)) == NULL && + (openssl_handle = dlopen("libssl.1.0.0.dylib", RTLD_NOW)) == NULL && (openssl_handle = dlopen("libssl.so.10", RTLD_NOW)) == NULL) { git_error_set(GIT_ERROR_SSL, "could not load ssl libraries"); return -1; |