Skip to content

Conversation

@nhz2
Copy link

@nhz2 nhz2 commented Oct 23, 2025

I am working on updating the Julia programming language to the latest version of 7zip Ref: JuliaPackaging/Yggdrasil#12372
We use cross-compilation to build 7zip for all supported platforms on a Linux machine.

I had to adjust the capitalization of a header file and some -l flags to get the cross-compilation to work.

@ip7z
Copy link
Owner

ip7z commented Oct 23, 2025

I'll fix it so:

#if defined(__MINGW32__) || defined(__MINGW64__)
#include <ntsecapi.h>
#else
#include <NTSecAPI.h>
#endif

We need these checks for mingw, because some another compilers still expect <NTSecAPI.h>.

@nhz2
Copy link
Author

nhz2 commented Oct 23, 2025

Thank you

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.

2 participants