]>
Commit | Line | Data |
---|---|---|
48b54e20 JB |
1 | --- courier-authlib-0.68.0/authdaemond.c.orig 2017-01-28 03:57:11.000000000 +0100 |
2 | +++ courier-authlib-0.68.0/authdaemond.c 2018-03-19 19:12:27.664936669 +0100 | |
3 | @@ -114,7 +114,10 @@ | |
4 | ||
5 | fprintf(stderr, "INFO: Installing %s\n", buf); | |
6 | p += i; | |
7 | - h=lt_dlopenext(buf); | |
8 | + sprintf(buf2, "courier_%s_init", buf+3); | |
9 | + | |
10 | + strcat(buf, ".so"); | |
11 | + h=lt_dlopen(buf); | |
12 | ||
13 | if (h == NULL) | |
14 | { | |
15 | @@ -122,8 +125,6 @@ | |
16 | continue; | |
17 | } | |
18 | ||
19 | - sprintf(buf2, "courier_%s_init", buf+3); | |
20 | - | |
21 | pt=lt_dlsym(h, buf2); | |
22 | if (pt == NULL) | |
23 | { | |
4fbfa80b JB |
24 | --- courier-authlib-0.68.0/authinfo.c.orig 2013-08-25 20:44:47.000000000 +0200 |
25 | +++ courier-authlib-0.68.0/authinfo.c 2018-03-21 20:10:48.566256960 +0100 | |
26 | @@ -105,8 +105,8 @@ | |
27 | ||
28 | if (strcmp(argv[n], "--ldflags") == 0) | |
29 | { | |
30 | - printf("-L%s\n", | |
31 | - PKGLIBDIR); | |
32 | + printf("-L%s -Wl,-rpath,%s\n", | |
33 | + PKGLIBDIR, PKGLIBDIR); | |
34 | } | |
35 | if (strcmp(argv[n], "--cppflags") == 0) | |
36 | { |