diff options
| author | Andreas Schneider <mail@cynapses.org> | 2009-08-21 15:15:18 +0200 |
|---|---|---|
| committer | Andreas Schneider <mail@cynapses.org> | 2009-08-21 15:15:18 +0200 |
| commit | c497f057a06f33d47123935375fe55806be18d9e (patch) | |
| tree | 75b2ba724295f65ba94fdca1a5b8f23510a777bc /libssh | |
| parent | fc0af0f0d879fbb207f7d4c236d191590a639e1a (diff) | |
| download | libssh-c497f057a06f33d47123935375fe55806be18d9e.tar.gz libssh-c497f057a06f33d47123935375fe55806be18d9e.tar.xz libssh-c497f057a06f33d47123935375fe55806be18d9e.zip | |
Improve detection for required libraries on Solaris.
Diffstat (limited to 'libssh')
| -rw-r--r-- | libssh/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index 2fc8adbb..fc355bfd 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -35,19 +35,19 @@ if (WIN32) ) endif (WIN32) -if (HAVE_LIB_GETHOSTBYNAME) +if (HAVE_LIBNSL) set(LIBSSH_LINK_LIBRARIES ${LIBSSH_LINK_LIBRARIES} nsl ) -endif (HAVE_LIB_GETHOSTBYNAME) +endif (HAVE_LIBNSL) -if (HAVE_LIB_GETADDRINFO) +if (HAVE_LIBSOCKET) set(LIBSSH_LINK_LIBRARIES ${LIBSSH_LINK_LIBRARIES} socket ) -endif (HAVE_LIB_GETADDRINFO) +endif (HAVE_LIBSOCKET) if (CRYPTO_LIBRARY) set(LIBSSH_PRIVATE_INCLUDE_DIRS |
