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 opt-in set_soname feature #23839

Closed

Conversation

keith
Copy link
Member

@keith keith commented Oct 1, 2024

This allows correctly setting the soname for shared libraries on
Linux. This is useful for similar reasons to the macOS
set_install_name feature.

Fixes #18798

This allows correctly setting the `soname` for shared libraries on
Linux. This is useful for similar reasons to the macOS
`set_install_name` feature.

Fixes bazelbuild#18798
@github-actions github-actions bot added team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels Oct 1, 2024
@comius comius added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Oct 2, 2024
@fmeum
Copy link
Collaborator

fmeum commented Oct 2, 2024

@bazel-io fork 7.4.0

@keith
Copy link
Member Author

keith commented Oct 2, 2024

FWIW we might want to make this the default in the future, as it is also already the default on macOS @ HEAD

@copybara-service copybara-service bot closed this in 0b0d908 Oct 3, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Oct 3, 2024
@keith keith deleted the ks/add-opt-in-set_soname-feature branch October 3, 2024 23:04
keith added a commit to keith/bazel that referenced this pull request Oct 3, 2024
This allows correctly setting the `soname` for shared libraries on
Linux. This is useful for similar reasons to the macOS
`set_install_name` feature.

Fixes bazelbuild#18798

Closes bazelbuild#23839.

PiperOrigin-RevId: 681847016
Change-Id: I2d3584c9d91564b41c2501e6664e2956f9760e41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow controlling whether the soname is set in cc_shared_library.
3 participants