From 870f49a63610858e4884d746334461f7887f4410 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Wed, 29 Jan 2020 03:01:14 +0100 Subject: [PATCH] Do not link to libnsl (#1987) Dlib does not use nsl symbols, why was this necessary ? This make conda-forge build fail --- dlib/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 7b6cb6732..36e3a6247 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -375,12 +375,6 @@ if (NOT TARGET dlib) mark_as_advanced(xlib xlib_path x11_path) else () ################################################################################## - # link to the nsl library if it exists. this is something you need sometimes - find_library(nsllib nsl) - if (nsllib) - set (dlib_needed_libraries ${dlib_needed_libraries} ${nsllib}) - endif () - # link to the socket library if it exists. this is something you need on solaris find_library(socketlib socket) if (socketlib)