ENH: Removing dependence on dl library since we don't actually use ldap.
This commit is contained in:
parent
6c9ba639f4
commit
ffd7c4d2a5
|
@ -95,7 +95,10 @@ MACRO(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE)
|
|||
ENDMACRO(CHECK_LIBRARY_EXISTS_CONCAT)
|
||||
|
||||
# Check for all needed libraries
|
||||
CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
|
||||
|
||||
# We do not need this because we do not use ldap.
|
||||
# CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
|
||||
|
||||
CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
|
||||
CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET)
|
||||
CHECK_LIBRARY_EXISTS("c" gethostbyname "" NOT_NEED_LIBNSL)
|
||||
|
@ -114,7 +117,8 @@ IF(CMAKE_USE_OPENSSL)
|
|||
ENDIF(CMAKE_USE_OPENSSL)
|
||||
|
||||
# Check for symbol dlopen (same as HAVE_LIBDL)
|
||||
CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
|
||||
# We do not need this because we do not use ldap.
|
||||
# CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
|
||||
|
||||
# For other tests to use the same libraries
|
||||
SET(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS})
|
||||
|
|
Loading…
Reference in New Issue