Skip to content

build: add DT_SONAME for ELF libraries #2407

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

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

compnerd
Copy link
Member

Unfortunately, because we do not use CMake for generating the libraries,
we need to explicitly control the library names for the time being. Add
a DT_SONAME entry to the ELF binary that we generate to ensure that we
are able to properly link to the libraries at load time.

Unfortunately, because we do not use CMake for generating the libraries,
we need to explicitly control the library names for the time being.  Add
a DT_SONAME entry to the ELF binary that we generate to ensure that we
are able to properly link to the libraries at load time.
@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd compnerd merged commit 93a24b3 into swiftlang:master Jul 12, 2019
@compnerd compnerd deleted the soname-so-sad branch July 12, 2019 19:41
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.

1 participant