]> source.dussan.org Git - rspamd.git/commitdiff
Stop linking with -lnsl on Linux 2614/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Mon, 29 Oct 2018 22:45:11 +0000 (18:45 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Mon, 29 Oct 2018 22:53:03 +0000 (18:53 -0400)
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

index 4f4eb9a00e665921d8cff75a9268bcc92067debd..0aa91aa579644e01294d5e3c8d58a90b4a0ff8bc 100644 (file)
@@ -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")