[RFC] MinGW build fixes

Stef Walter stef at thewalter.net
Tue Sep 9 07:21:50 PDT 2014

Sorry, missed those. Had a baby :)

On 09.09.2014 15:14, Michael Cronenworth wrote:
> On 08/17/2014 06:01 PM, Michael Cronenworth wrote:
>> I am attaching two patches that fix compiling with MinGW. They have
>> been made
>> against git master. The trust test issue has been broken for a while. The
>> p11-kit tests have just recently been introduced with 0.20.4+.
>> The p11-kit tests are calling UNIX-specific features (getuid, fork,
>> mkdir) and I
>> have commented out these sections and changed mkdir to the appropriate
>> call.
>> Feel free to rewrite these tests if you would like to have them work
>> on Windows

If someone is interested in the functionality of p11-kit on Windows,
then I invite them to get involved. Although Windows has a different
approach to a lot of this. I'm not sure how much would be relevant there.

However I would like to keep p11-kit building on Windows, so that people
can depend on p11-kit where necessary.

> Any update on these? Have these patches been rejected?

The first patch is applied to git master and stable branches.

The second patch I've changed WIN32 to check instead for OS_UNIX, and
merged it to git master.



stef at thewalter.net

More information about the p11-glue mailing list