mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
https://github.com/libssh2/libssh2/issues/1578 WINDLL means that the current project using this library is a DLL; not that this library was built as a DLL. This check for _WINDLL is incorrect, and the LIBSSH2_EXPORTS flag should be used instead. Description of problem - build libssh2 as a static library to be included in a dynamic library; if libssh2 uses _WINDLL then the names generated are `__imp_*` which do not exist in the static build of the library. --------- Co-authored-by: d3x0r <d3x0r@no-reply.github.com>