aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-21 14:55:39 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-21 14:55:39 +0100
commit3a94c94f20ee42c76f030d1808e2edf621107ec1 (patch)
tree233d1453bbed6bd0659b8f881e6bcb6230c27d4f /doc
parent473d3e0b3a08ae89b12fc1b74b225e36fb45bd94 (diff)
downloadlibssh-3a94c94f20ee42c76f030d1808e2edf621107ec1.tar.gz
libssh-3a94c94f20ee42c76f030d1808e2edf621107ec1.tar.xz
libssh-3a94c94f20ee42c76f030d1808e2edf621107ec1.zip
doc: More linking details.
Diffstat (limited to 'doc')
-rw-r--r--doc/linking.dox4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/linking.dox b/doc/linking.dox
index f558b62..7b5f6e7 100644
--- a/doc/linking.dox
+++ b/doc/linking.dox
@@ -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.