Unverified Commit 870f49a6 authored by Julien Schueller's avatar Julien Schueller Committed by GitHub
Browse files

Do not link to libnsl (#1987)

Dlib does not use nsl symbols, why was this necessary ?
This make conda-forge build fail
parent 20d02b80
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment