diff options
| author | Andreas Schneider <mail@cynapses.org> | 2009-08-25 15:07:29 +0200 |
|---|---|---|
| committer | Andreas Schneider <mail@cynapses.org> | 2009-08-25 15:07:29 +0200 |
| commit | 3804e72e24cd8fcc8f28e83781495c2ddfc14732 (patch) | |
| tree | 74cf0a83e995ce52214f093cc04b71d381409301 /libssh | |
| parent | b8508020e5e417a7500df19b8ee4cb73500c72d5 (diff) | |
| download | libssh-3804e72e24cd8fcc8f28e83781495c2ddfc14732.tar.gz libssh-3804e72e24cd8fcc8f28e83781495c2ddfc14732.tar.xz libssh-3804e72e24cd8fcc8f28e83781495c2ddfc14732.zip | |
Fix linking on solaris.
libresolv and librt are required.
Diffstat (limited to 'libssh')
| -rw-r--r-- | libssh/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libssh/CMakeLists.txt b/libssh/CMakeLists.txt index fc355bfd..ad13b8ff 100644 --- a/libssh/CMakeLists.txt +++ b/libssh/CMakeLists.txt @@ -25,6 +25,7 @@ if (WITH_STATIC_LIB) endif (WITH_STATIC_LIB) set(LIBSSH_LINK_LIBRARIES + ${LIBSSH_REQUIRED_LIBRARIES} ${ZLIB_LIBRARIES} ) @@ -35,13 +36,6 @@ if (WIN32) ) endif (WIN32) -if (HAVE_LIBNSL) - set(LIBSSH_LINK_LIBRARIES - ${LIBSSH_LINK_LIBRARIES} - nsl - ) -endif (HAVE_LIBNSL) - if (HAVE_LIBSOCKET) set(LIBSSH_LINK_LIBRARIES ${LIBSSH_LINK_LIBRARIES} |
