Do not link to libnsl (#1987)

Dlib does not use nsl symbols, why was this necessary ?
This make conda-forge build fail
This commit is contained in:
Julien Schueller 2020-01-29 03:01:14 +01:00 committed by GitHub
parent 20d02b80e7
commit 870f49a636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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)