configure: link -lcrypt32 instead of -lm for wolfSSL on Windows - #22251
Closed
vszakats wants to merge 1 commit into
Closed
configure: link -lcrypt32 instead of -lm for wolfSSL on Windows#22251vszakats wants to merge 1 commit into
-lcrypt32 instead of -lm for wolfSSL on Windows#22251vszakats wants to merge 1 commit into
Conversation
-lcrypt32 instead of -lm on Windows-lcrypt32 instead of -lm on Windows
-lcrypt32 instead of -lm on Windows-lcrypt32 instead of -lm on Windows
vszakats
force-pushed
the
am-wolfssl-m-windows
branch
from
July 2, 2026 22:41
c08d80c to
9899002
Compare
Member
|
how does this link it if it just takes away |
Member
|
nm got your update |
Member
Author
I was busy posting, while I forgot to |
jay
approved these changes
Jul 2, 2026
jay
left a comment
Member
There was a problem hiding this comment.
IMO this is an improvement regardless of if it fixes the reported issue
-lcrypt32 instead of -lm on Windows-lcrypt32 instead of -lm for wolfSSL on Windows
vszakats
added a commit
that referenced
this pull request
Jul 2, 2026
Also: - whitespace tidy-up. - tried building with MSYS2 wolfSSL, but still not compatible with curl. Ref: https://packages.msys2.org/base/mingw-w64-wolfssl Ref: #22251 Follow-up to 923db35 #18116 Closes #22252
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncing it with CMake/FindWolfSSL.
-lmis not needed on Windows. As of mingw-w64 14.0.0 it's offered asa dummy library; in such case it wasn't causing an actual issue.
-lcryp32is necessary when linking wolfSSL statically.Ref: #22249