
Michal,
Do you really expect me to break my Win32 builds in order to restore seamless integration with your build environment? 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). 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.
Regards,Jose On Thursday, November 5, 2015 8:11 AM, Michal Trojnara <Michal.Trojnara@mirt.net> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 05.11.2015 12:36, Jose Alf. wrote:
Mostly, you figured out the issue. I use the mingw.mak recipe included in the src directory to compile my own stunnel with mingw32. However, there was a change in stunnel 5.25 affecting stunnel.c that breaks compilation with this makefile. See attached diff. I know you don't compile under windows, but please consider reverting that change to retain backward compatibility.
Do you really expect me to break my Win32 builds in order to restore seamless integration with your build environment?
Thanks a lot for sharing your build scripts on Linux.
The last line of my script is also the solution to your problem. Best regards, Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWO1VYAAoJEC78f/DUFuAUuYoQAJrtBSuC60TX70J9NoQspiya nVKX2DHLtY9PDrS56PhZ6OmBtxkzVQSWY16Tbl/a4+HFdbBWBA1M02a+YedykHBv Y13pLFEVngpz01QY3jp8Oygi0VUihFHTEJR2LZGWUUsox+1DPxx2TamgEaVH4jk0 uwxbDeVCO4i64zmt0Zc5FIca+S4MtXcelf57xAwb8tcH4Cs3r73PHaoScM3uITzV 7/k6Frm+v9GAPK/M10oCOX2PraVN0WpJQ34FZMnuF5y6Ifg7LjWXmcC7/aH4PIop IyHI0vbU9yfrdrAC3t+JJkWdU3VRFH2RK4S8MNP+4AgXOOUK7hQFYs3eTR6lRKMi tHFk3TuLUvDhzBMsYwtQ4nAnEIWERnDHHTulq+baTiMh54Td+s0aDIi7A6LbvyGg Gy7U7ilRRX1FK7uw3Ydtr3/JLiJCSvAy2rd4GtWKVeSIpU/f3l8Gh4mqt4KpWQvX H7iuo5ORAsyV3784nq9Mlwu+cLrKds1CHjy6j1JgFkRw6qpUOr2sm5/EhKSaAwhX +1hDfzuYWeFeZ8t3sHKgXo4oBWk9gSNje9nqGhmglr7mzqq46gpUHAR3C6ZhRVKk zyKeulNK/5jL/BHpG3T3QF2j3tRVaaF7HCoeuTQdS/0tE5T7ucnMhFIvA5Ou/wBP HMOjuwSkXweirxf6kSYa =fReE -----END PGP SIGNATURE----- _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users