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

MSVC Compiler Flags Incorrectly Passed to Linker (Regression) #4424

Open
TriceHelix opened this issue Nov 4, 2024 · 1 comment
Open

MSVC Compiler Flags Incorrectly Passed to Linker (Regression) #4424

TriceHelix opened this issue Nov 4, 2024 · 1 comment

Comments

@TriceHelix
Copy link

This is a regression of #2209.

Configure using these flags:
--os=windows --cc=msvc --disable-shared-library --msvc-runtime=MT
...and build. This produces the following linker error:
LINK : fatal error LNK1146: no argument specified with option '/MT'

It seems identical to the issue from 5 years ago and occurs on version 3.6.1 (lastest release).

@reneme
Copy link
Collaborator

reneme commented Nov 5, 2024

Confirmed. This is being addressed as a side-fix in #4255. Perhaps we should extract that and merge it independently, @randombit?

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

2 participants