D 2017-08-25T18:00:14.707
J comment Building\sthe\stcltls\spackage...
a)\sWindows\sbuild\swith\smsys2\s(libcrypto)\srequires\s-lwsock32
\sso\sI\sset\sKC_TLS_LIBS=-lwsock32
b)\sBut\sthe\sconfigure\sscript\sputs\sthis\sbefore\sthe\s-lssl\s-lcrypto\sand\sthe\s
\sconfigure\stest\sfor\sbasic\sssl\sfunctionality\sfails.
\s
I\sadded\sthe\sfollowing\sto\stls/build.sh\spreconfigure()
sed\s-i\s-e\s'/^LIBS/\ss,=.*,="${TCLTLS_SSL_LIBS}\s${LIBS}",'\sconfigure
#\stwo\stabs
sed\s-i\s-e\s'/^ \sLIBS.*SAVE_LIBS.*TCLTLS/\ss,=.*,="${TCLTLS_SSL_LIBS}\s${SAVE_LIBS}",'\sconfigure