Assume dlerror() function is always available when dlopen() is
Remove separate checks for dlerror() which don't seem to be needed under any platform any longer. No real changes, just slim down configure/CMake a tiny bit.
This commit is contained in:
@@ -614,7 +614,6 @@ set(CMAKE_REQUIRED_LIBRARIES dl)
|
||||
check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)
|
||||
cmake_pop_check_state()
|
||||
if(HAVE_DLOPEN)
|
||||
check_symbol_exists(dlerror dlfcn.h HAVE_DLERROR)
|
||||
check_symbol_exists(dladdr dlfcn.h HAVE_DLADDR)
|
||||
endif()
|
||||
check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
|
||||
|
||||
Reference in New Issue
Block a user