summaryrefslogtreecommitdiffstats
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/CMakeLists.txt8
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