Skip to content

[5.10][Build Script Helper] Use new SwiftPM flag to remove $ORIGIN from installed ELF executable runpaths #1470

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
Oct 31, 2023

Conversation

finagolfin
Copy link
Member

Cherrypick of #1462

Explanation: Without this flag, swift-driver and the other installed executables look in usr/bin/ first for shared libraries, but there are none in that executable directory.

Scope: installed executables' runpaths

Issue: none

Risk: none, there were no shared libraries there

Testing: SwiftPM merged using this flag into trunk and 5.10 last week, no problems with swift-package itself so far.

Reviewer: @artemcm

@finagolfin
Copy link
Member Author

Ping @artemcm, small pull that's ready for review.

@finagolfin
Copy link
Member Author

@bnbarham, please run the CI on this.

@bnbarham
Copy link
Contributor

@swift-ci test

@finagolfin
Copy link
Member Author

@artemcm, small cleanup pull ready for review and merge.

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@finagolfin
Copy link
Member Author

@bnbarham, ready for merge.

@artemcm artemcm merged commit eb63540 into swiftlang:release/5.10 Oct 31, 2023
@finagolfin finagolfin deleted the release/5.10 branch October 31, 2023 16:38
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.

4 participants