File: 15_try_curl-gnutls.diff

package info (click to toggle)
efl 1.21.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 261,264 kB
  • sloc: ansic: 1,026,744; cpp: 43,352; cs: 14,773; sh: 5,539; makefile: 3,347; objc: 1,518; pascal: 431; python: 322; xml: 182; sed: 16
file content (20 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Try to dlopen curl-gnutls
 Since we link with gnutls, try to dlopen curl-gnutls (in addition to the
 OpenSSL variant).
Author: Andreas Metzler <ametzler@debian.org>
Origin: other
Forwarded: no
Last-Update: 2016-08-19

--- a/src/lib/ecore_con/ecore_con_url_curl.c
+++ b/src/lib/ecore_con/ecore_con_url_curl.c
@@ -282,6 +282,9 @@
    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)