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

[5.10] Use new SwiftPM flag to remove $ORIGIN from installed sourcekit-lsp ELF executable runpath #913

Merged
merged 1 commit into from Oct 21, 2023

Conversation

finagolfin
Copy link
Contributor

Cherrypick of #894

Explanation: Without this flag, sourcekit-lsp looks in usr/bin/ first for shared libraries, but there are none in that executable directory.

Scope: installed executable runpath

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: @ahoppen

… ELF executable runpath

Also, move installation-only environment variable into get_swiftpm_environment_variables().
@bnbarham
Copy link
Contributor

@swift-ci please test

@ahoppen ahoppen merged commit 2e93309 into apple:release/5.10 Oct 21, 2023
3 checks passed
@finagolfin finagolfin deleted the release/5.10 branch October 21, 2023 05:09
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.

None yet

3 participants