Skip to content

Only add an automatic SONAME for Rust dylibs#130960

Merged
bors merged 1 commit intorust-lang:masterfrom
cuviper:cdylib-soname
Sep 28, 2024
Merged

Only add an automatic SONAME for Rust dylibs#130960
bors merged 1 commit intorust-lang:masterfrom
cuviper:cdylib-soname

Conversation

@cuviper
Copy link
Member

@cuviper cuviper commented Sep 27, 2024

#126094 added an automatic relative SONAME to all dynamic libraries, but it was really only needed for Rust --crate-type="dylib". In Fedora, it was a surprise to see SONAME on "cdylib" libraries like Python modules, especially because that generates an undesirable RPM Provides. We can instead add a SONAME just for Rust dylibs by passing the crate-type argument farther.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2314879

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants