Commit 07bc378
committed
Allow nghttp2 to export a shared library so that we can link the curl binary dynamically against it.
- Use case in the curl PR. #42546
After building curl, we see this.
```
- ldd bazel-bin/external/+_repo_rules+curl/curl_bin
linux-vdso.so.1 (0x0000ffffa8c25000)
libnghttp2.so.14 => /opt/datadog-agent/embedded/lib/libnghttp2.so.14 (0x0000ffff90240000)
libz.so => /opt/datadog-agent/embedded/lib/libz.so (0x0000ffff90210000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff901e0000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff90130000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000ffff90100000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000ffff900d0000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff8ff10000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff9028e000)
```1 parent 6b70e19 commit 07bc378
2 files changed
+10
-6
lines changedLines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | 161 | | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments