-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Lowercase lib name in Windows link attribute #355
Conversation
Is there a setup that could be used in CI to ensure this doesn't regress? CI isn't running because you're a first-time contributor here, but I should have a button that runs it manually. For whatever reason that isn't the case, which is why CI appears as though it had stalled. |
I have approximately zero experience with Github Actions... but, it should be pretty straightforward to install the mingw-w64 toolchain on Ubuntu and run something like |
For status I'm just waiting on a response from GitHub on why I can't run CI here. I can add a regression check in CI myself. |
Still waiting on a response from GitHub. No idea why it's taking so long; they've responded to me within a day in the past and it's been eight days at this point. |
I'm on Linux, so I'm able to test this manually. Would you mind providing steps that fail on main but succeed with this patch? |
For compatibility with cross-compiling for Windows in case-sensitive environments.
The steps are roughly "on Linux, cross-compile for Windows anything that depends on Prerequisites
Steps to reproduce
Output on
|
After doing that and applying this patch, I still get an error.
|
That's strange—pthreads should be pulled in when you install the MinGW toolchain (on Fedora the package is I remember running into this before, and finding it strange that the argument is |
I'm on Fedora for what it's worth. I can't get it to work locally even with |
Oops, I missed a package on Fedora—the static winpthreads library lives in |
I'll get CI set up at some point, but I've just confirmed that this does fix a link error that would otherwise occur. Merging as such. |
Cross-building for Windows on (for example) Linux exposes some fun case-sensitivity issues, since mingw libraries are in all lowercase. This just changes title-case library names to lowercase, and shouldn't affect native Windows builds at all (I hope).