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

xmlsec: fix header conflicts between OpenSSL and Windows #26622

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amachado-pie
Copy link
Contributor

Summary

Changes to recipe: xmlsec/1.3.6

Motivation

fixes #26621

Details

Set the define WIN32_LEAN_AND_MEAN when the compiler is mingw . The WIN32_LEAN_AND_MEAN define is used in Windows to exclude some of the less frequently used APIs from the Windows headers. This can help prevents the inclusion of some headers like cryptography, among others that can help to fix header conflicts with openssl.
This is based on the defines used on msvc makefile in the project:
https://github.com/lsh123/xmlsec/blob/f48168188a9d0ecda4a19b3f5586860b00d81b69/win32/Makefile.msvc#L365-L375


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.

[package] xmlsec/1.3.6: MinGW on Linux: header file conflicts between OpenSSL and Windows
1 participant