1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

doc: More linking details.

This commit is contained in:
Andreas Schneider
2010-12-21 14:55:39 +01:00
parent 473d3e0b3a
commit 3a94c94f20

View File

@ -17,6 +17,10 @@ On UNIX systems linking against the static version of the library is the
same as linking against the shared library. Both have the same name. Some
build system require to use the full path to the static library.
Shared: -lssh
Static: -static -lssh
On Windows you need to define LIBSSH_STATIC in the compiler command line
This is required cause the dynamic library needs to specify the dllimport
attribute.