mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 10:26:47 +09:00
doc: Some fixes for linking howto.
This commit is contained in:
@@ -17,12 +17,8 @@ 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
|
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.
|
build system require to use the full path to the static library.
|
||||||
|
|
||||||
Shared: -lssh
|
@note On Windows you need to define LIBSSH_STATIC in the compiler command
|
||||||
|
line. This is required cause the dynamic library needs to specify the
|
||||||
Static: -static -lssh
|
dllimport attribute.
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user