Skip to content

Conversation

compnerd
Copy link
Member

ELF libraries should have DT_SONAME set so that they can be loaded
properly. This is needed currently since we do not use proper CMake
support for Swift and that requires that we pass along the -soname
flag to the linker ourselves. Account for that. This improves loading
of swiftDispatch on android.

ELF libraries should have DT_SONAME set so that they can be loaded
properly.  This is needed currently since we do not use proper CMake
support for Swift and that requires that we pass along the `-soname`
flag to the linker ourselves.  Account for that.  This improves loading
of swiftDispatch on android.
@compnerd
Copy link
Member Author

CC: @ktopley-apple

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit fc917b4 into swiftlang:master Jul 14, 2019
@compnerd compnerd deleted the soname-sosad branch July 14, 2019 05:26
rokhinip pushed a commit that referenced this pull request Nov 5, 2021
build: add DT_SONAME for ELF libraries
Signed-off-by: Kim Topley <[email protected]>
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.

2 participants