Commit 144ead6
Fix include/lib path ordering so wolfSSL paths take precedence
When --with-openssl=<prefix> contains stale wolfSSL headers, the compiler
picked them up because OpenSSL's -I path appeared before wolfSSL's in
CFLAGS. Swap the wolfSSL and OpenSSL detection blocks so wolfSSL's -I/-L
paths are added first and take precedence. Also move AC_CHECK_HEADERS for
openssl/core.h after OpenSSL paths are set so it can actually find the
header.1 parent c0c5143 commit 144ead6
1 file changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
34 | 45 | | |
| |||
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments