<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1446756170377_3272">Michal,<br><span></span></div><div id="yui_3_16_0_1_1446756170377_2689" dir="ltr">>Do you really expect me to break my Win32 builds in order to restore<br class="" id="yui_3_16_0_1_1446756170377_2686" clear="none">> seamless integration with your build environment?</div><div id="yui_3_16_0_1_1446756170377_2718" dir="ltr"><br></div><div id="yui_3_16_0_1_1446756170377_3013" dir="ltr">No way!... I already changed the mingw.mak make included in stunnel source to handle the new condition following Pierre Delaage style. Works for me. It could be useful for someone else (attached).</div><div id="yui_3_16_0_1_1446756170377_3209" dir="ltr"><br></div><div id="yui_3_16_0_1_1446756170377_3108" dir="ltr">Incidentally, I just found that in this case, including applink.c is not mandatory. Stunnel compiles and runs just fine without it. I understand it's only need it if your application will link to and OpenSSL DLL compiled with different settings or compiler (from the OpenSSL FAQ). Not including it makes saves about 7KB on the final exe.<br></div><div id="yui_3_16_0_1_1446756170377_2900" dir="ltr"><br></div><div id="yui_3_16_0_1_1446756170377_3570" dir="ltr">Regards,</div><div id="yui_3_16_0_1_1446756170377_3810" dir="ltr">Jose<br class="" id="yui_3_16_0_1_1446756170377_2688" clear="none"></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, November 5, 2015 8:11 AM, Michal Trojnara <Michal.Trojnara@mirt.net> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">-----BEGIN PGP SIGNED MESSAGE-----<br clear="none">Hash: SHA256<br clear="none"><br clear="none">On 05.11.2015 12:36, Jose Alf. wrote:<br clear="none">> Mostly, you figured out the issue. I use the mingw.mak recipe<br clear="none">> included in the src directory to compile my own stunnel with<br clear="none">> mingw32. However, there was a change in stunnel 5.25 affecting<br clear="none">> stunnel.c that breaks compilation with this makefile. See attached<br clear="none">> diff. I know you don't compile under windows, but please consider<br clear="none">> reverting that change to retain backward compatibility.<br clear="none"><br clear="none">Do you really expect me to break my Win32 builds in order to restore<br clear="none">seamless integration with your build environment?<br clear="none"><br clear="none">> Thanks a lot for sharing your build scripts on Linux.<br clear="none"><br clear="none">The last line of my script is also the solution to your problem.<br clear="none"><br clear="none">Best regards,<br clear="none"> Mike<br clear="none">-----BEGIN PGP SIGNATURE-----<br clear="none">Version: GnuPG v2<br clear="none"><br clear="none">iQIcBAEBCAAGBQJWO1VYAAoJEC78f/DUFuAUuYoQAJrtBSuC60TX70J9NoQspiya<br clear="none">nVKX2DHLtY9PDrS56PhZ6OmBtxkzVQSWY16Tbl/a4+HFdbBWBA1M02a+YedykHBv<br clear="none">Y13pLFEVngpz01QY3jp8Oygi0VUihFHTEJR2LZGWUUsox+1DPxx2TamgEaVH4jk0<br clear="none">uwxbDeVCO4i64zmt0Zc5FIca+S4MtXcelf57xAwb8tcH4Cs3r73PHaoScM3uITzV<br clear="none">7/k6Frm+v9GAPK/M10oCOX2PraVN0WpJQ34FZMnuF5y6Ifg7LjWXmcC7/aH4PIop<br clear="none">IyHI0vbU9yfrdrAC3t+JJkWdU3VRFH2RK4S8MNP+4AgXOOUK7hQFYs3eTR6lRKMi<br clear="none">tHFk3TuLUvDhzBMsYwtQ4nAnEIWERnDHHTulq+baTiMh54Td+s0aDIi7A6LbvyGg<br clear="none">Gy7U7ilRRX1FK7uw3Ydtr3/JLiJCSvAy2rd4GtWKVeSIpU/f3l8Gh4mqt4KpWQvX<br clear="none">H7iuo5ORAsyV3784nq9Mlwu+cLrKds1CHjy6j1JgFkRw6qpUOr2sm5/EhKSaAwhX<br clear="none">+1hDfzuYWeFeZ8t3sHKgXo4oBWk9gSNje9nqGhmglr7mzqq46gpUHAR3C6ZhRVKk<br clear="none">zyKeulNK/5jL/BHpG3T3QF2j3tRVaaF7HCoeuTQdS/0tE5T7ucnMhFIvA5Ou/wBP<br clear="none">HMOjuwSkXweirxf6kSYa<br clear="none">=fReE<div class="yqt4605463341" id="yqtfd98288"><br clear="none">-----END PGP SIGNATURE-----<br clear="none">_______________________________________________<br clear="none">stunnel-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:stunnel-users@stunnel.org" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br clear="none"><a shape="rect" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>