Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add soname to libquiche.so #1769

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

junhochoi
Copy link
Contributor

@junhochoi junhochoi commented Apr 30, 2024

Using cdylib-link-lines, add soname to the generated shlibs.

It will add the following to libquiche.so:

% readelf -d target/debug/libquiche.so
...
 0x000000000000000e (SONAME)             Library soname: [libquiche.so.0]

For linux, *bsd, android, ios and macos.

Fixes #598
Fixes #165

@junhochoi
Copy link
Contributor Author

junhochoi commented Apr 30, 2024

It will also fix FreeBSD port issue too: https://lists.freebsd.org/archives/freebsd-ports/2024-April/006061.html
(dnsdist depends on quiche in FreeBSD)

@junhochoi junhochoi force-pushed the fix_c_soname branch 2 times, most recently from 55843a6 to 69a5a22 Compare May 9, 2024 07:21
Using cdylib-link-lines, add soname to the generated shlibs.

It will add the following to libquiche.so:

```
% readelf -d target/debug/libquiche.so
...
 0x000000000000000e (SONAME)             Library soname: [libquiche.so.0]
```

For linux, *bsd, android, ios and macos.

Fixes cloudflare#598
Fixes cloudflare#165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

soname versioning How to add soname into libquiche.so
2 participants