Skip to content
Permalink
Browse files

CMake: use platform dependent name for dlopen() library

Closes #4279
  • Loading branch information...
DerDakon authored and bagder committed Aug 29, 2019
1 parent c30aff4 commit 3e7769a58026702a16d116a48f20899bc1f11ee6
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -260,7 +260,7 @@ if(ENABLE_THREADED_RESOLVER)
endif()

# Check for all needed libraries
check_library_exists_concat("dl" dlopen HAVE_LIBDL)
check_library_exists_concat("${CMAKE_DL_LIBS}" dlopen HAVE_LIBDL)
check_library_exists_concat("socket" connect HAVE_LIBSOCKET)
check_library_exists("c" gethostbyname "" NOT_NEED_LIBNSL)

0 comments on commit 3e7769a

Please sign in to comment.
You can’t perform that action at this time.