From 55d667d387bdbc89347aee4187efcdf6c86863b8 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Mon, 29 Oct 2018 18:45:11 -0400 Subject: [PATCH] Stop linking with -lnsl on Linux As far as I know on Linux libnsl is used only for NIS/NIS+ support. It is highly unlikey that Rspamd users use NIS in 2018. Keep linking with libnsl on Solaris - there it is likely needed even if NIS is not used. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f4eb9a00e..0aa91aa579 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -564,7 +564,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") LIST(APPEND CMAKE_REQUIRED_LIBRARIES rt) LIST(APPEND CMAKE_REQUIRED_LIBRARIES dl) LIST(APPEND CMAKE_REQUIRED_LIBRARIES resolv) - LIST(APPEND CMAKE_REQUIRED_LIBRARIES nsl) MESSAGE(STATUS "Configuring for Linux") IF(EXISTS "/etc/debian_version") SET(LINUX_START_SCRIPT "rspamd_debian.in") -- 2.47.3