Skip to content

Fix link bcrypt with libxml2 on Windows#15651

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:fix/libxml2-msvc-static-lib-bcrypt
Apr 13, 2025
Merged

Fix link bcrypt with libxml2 on Windows#15651
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:fix/libxml2-msvc-static-lib-bcrypt

Conversation

@straight-shoota
Copy link
Member

On Windows, libxml2 uses BCryptGenRandom from BCrypt, so we need to link that.
The build configurations for libxml2 on Windows also link BCrypt.

Resolves #15646

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:serialization kind:regression Something that used to correctly work but no longer works labels Apr 10, 2025
@straight-shoota straight-shoota self-assigned this Apr 10, 2025
@straight-shoota straight-shoota added this to the 1.16.1 milestone Apr 10, 2025
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
@straight-shoota straight-shoota merged commit c45bffb into crystal-lang:master Apr 13, 2025
34 checks passed
@straight-shoota straight-shoota deleted the fix/libxml2-msvc-static-lib-bcrypt branch April 13, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:regression Something that used to correctly work but no longer works topic:stdlib:serialization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linker error with Crystal v1.16.0 on Windows for xml2.lib

3 participants