* .github/workflows/windows-ci.yml
* encourage to test OpenSSL
* contrib/hbssl/hbssl.hbc
* treat Microsoft Visual Studio 2017 or newer can use
the latest OpenSSL lib. That's very loose approximation,
but hopefully better than before. If you are using such
compiler please update your OpenSSL library.
% deduplicated the rules, leftovers from old static "_s" suffixing
21 lines
760 B
Plaintext
21 lines
760 B
Plaintext
description=OpenSSL wrapper (encryption)
|
|
|
|
# NOTE: use HB_STATIC_OPENSSL=yes envvar to link openssl lib statically
|
|
|
|
incpaths=.
|
|
|
|
headers=${hb_name}.ch
|
|
|
|
skip={dos}
|
|
|
|
{!HB_DYNBIND_OPENSSL&!(HB_STATIC_OPENSSL&!hbdyn)}libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
|
|
{!HB_DYNBIND_OPENSSL& (HB_STATIC_OPENSSL&!hbdyn)}libs=${_HB_DYNPREF}${hb_name}s${_HB_DYNSUFF}
|
|
|
|
{!HB_DYNBIND_OPENSSL&unix}libs=ssl crypto
|
|
{!HB_DYNBIND_OPENSSL&os2}libs=libssl_s libcrypto_s
|
|
{!HB_DYNBIND_OPENSSL&win&!allmingw&!allmsvc&!clang&!zig}libs=ssleay32 libeay32
|
|
{!HB_DYNBIND_OPENSSL&allmsvc&HB_COMP_VER<'1401'}libs=ssleay32 libeay32
|
|
{!HB_DYNBIND_OPENSSL&win&(allmingw|clang|zig)}libs=ssl crypto
|
|
{!HB_DYNBIND_OPENSSL&allmsvc&HB_COMP_VER>'1400'}libs=ssl crypto
|
|
{!HB_DYNBIND_OPENSSL&allwin}libs=crypt32
|