MinGW build findings

Michael Cronenworth mike at cchtml.com
Tue Oct 25 11:17:47 PDT 2011


Hello,

I attempted to build p11-kit 0.8 for Windows using the MinGW environment 
on Fedora 15. I had to apply two patches in order to get a successful build.

p11-kit-0.8-debug.patch
The debug_init() call needed a rename to _p11_debug_init() to match the 
non-Win32 code.

p11-kit-0.8-link.patch
The Makefile for the p11-kit subdirectory was missing a link to "lintl". 
I have gettext (both native and MinGW) packages installed and configure 
saw it, but I had to apply this patch for the link to happen. I'm not an 
autotools expert so someone may have a better solution for this.

Any comments on my patches are appreciated. My plan is to include 
p11-kit in Fedora's repositories.

Thanks,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p11-kit-0.8-debug.patch
Type: text/x-patch
Size: 274 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/p11-glue/attachments/20111025/fdf5b57a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p11-kit-0.8-link.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/p11-glue/attachments/20111025/fdf5b57a/attachment-0001.bin>


More information about the p11-glue mailing list