Skip to content

Fix clang linker on windows - #2763

Merged
nickclark2016 merged 1 commit into
premake:masterfrom
theComputeKid:clang
Aug 6, 2026
Merged

Fix clang linker on windows#2763
nickclark2016 merged 1 commit into
premake:masterfrom
theComputeKid:clang

Conversation

@theComputeKid

Copy link
Copy Markdown
Contributor

When clang is used on Windows for driving the linking, it will always call lld-link. Therefore, the call on Windows must be MS syntax, not GNU.

Fixes #2762

Comment thread src/tools/clang.lua Outdated
- Change to use CL style linker
@nickclark2016
nickclark2016 merged commit 80baee7 into premake:master Aug 6, 2026
83 checks passed
@theComputeKid
theComputeKid deleted the clang branch August 6, 2026 15:30
theComputeKid added a commit to theComputeKid/premake-oneapi that referenced this pull request Aug 6, 2026
theComputeKid added a commit to theComputeKid/premake-oneapi that referenced this pull request Aug 6, 2026
theComputeKid added a commit to theComputeKid/premake-oneapi that referenced this pull request Aug 6, 2026
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.

Clang toolset emits GNU import-library linker flag when targeting Windows with lld-link

3 participants