build: use CMAKE_DL_LIBS instead of -ldl
e.g. FreeBSD does not use an extra library for dynamic loading, everything is in libc. CMake provides the CMAKE_DL_LIBS variable to handle this. Use it.
Loading
Please register or sign in to comment
e.g. FreeBSD does not use an extra library for dynamic loading, everything is in libc. CMake provides the CMAKE_DL_LIBS variable to handle this. Use it.