From 50141e2b8d590968d8456314e7dda247d536ef7e Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Thu, 15 Sep 2022 10:48:29 +0800 Subject: [PATCH] Try to dlopen curl-gnutls Origin: other Forwarded: no Last-Update: 2016-08-19 Since we link with gnutls, try to dlopen curl-gnutls (in addition to the OpenSSL variant). Gbp-Pq: Name 15_try_curl-gnutls.diff --- src/lib/ecore_con/ecore_con_url_curl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ecore_con/ecore_con_url_curl.c b/src/lib/ecore_con/ecore_con_url_curl.c index 4217f91..3ce9f7f 100644 --- a/src/lib/ecore_con/ecore_con_url_curl.c +++ b/src/lib/ecore_con/ecore_con_url_curl.c @@ -282,6 +282,9 @@ _c_init(void) if (!_c->mod) ERR("Could not find libcurl.5.dylib, libcurl.4.dylib, libcurl.so.5, libcurl.so.4"); #else +# ifdef HAVE_GNUTLS + LOAD("libcurl-gnutls.so.4"); // try this one first +# endif /* ifdef HAVE_GNUTLS */ LOAD("libcurl.so.5"); // try only LOAD("libcurl.so.4"); // try only if (!_c->mod)