Commit aa3c2f7
committed
CMake: fix the $ORIGIN problem
ld does not seem to follow the $ORIGIN in recursive dependencies properly. The
workaround is to specify the recursive dependencies (in this case openssl,
libidn) explicitly, then the rpath is properly constructed and things work at
link time.
Also add full include paths to the dependencies.1 parent 34c798a commit aa3c2f7
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
0 commit comments