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

Provide a platform-specific linker override #28

Open
cmcgee1024 opened this issue Jan 31, 2025 · 0 comments
Open

Provide a platform-specific linker override #28

cmcgee1024 opened this issue Jan 31, 2025 · 0 comments

Comments

@cmcgee1024
Copy link
Member

SwiftPM currently uses the lld-link linker on Windows and would like to preserve that selection when using SwiftBuild to build for Windows. Currently, it checks the host platform and conditionally overrides the ALTERNATE_LINKER build setting to get the desired behaviour. Instead, there should be a way to describe the alternate linker on a per-platform basis, or SwiftBuild could adopt the same linker as the default for Windows.

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

No branches or pull requests

1 participant