This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Commit e5e9f7b
committed
curl: don't provide path to dependencies
Let pkg-config do its job instead. This fix a potential issue (most likely only
in more recent toolchains than the one we use in the build images) where curl
would explicitly depend on the absolute path to its dependencies, causing it to
link with /path/to/libfoo.so instead of -lfoo
When linking with an absolute path, the linker appears to not include the rpath
information, which causes linking errors down the line:
2023-10-25T15:16:09+00:00 | /opt/toolchains/bin/../lib/gcc/x86_64-unknown-linux-gnu/11.4.0/../../../../x86_64-u
nknown-linux-gnu/bin/ld.bfd: warning: libnghttp2.so.14, needed by
../lib/.libs/libcurl.so, not found (try using -rpath or -rpath-link)1 parent 9865257 commit e5e9f7b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments