We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8a6e84 commit 4456623Copy full SHA for 4456623
CMakeLists.txt
@@ -93,9 +93,9 @@ if(NOT WIN32 OR MINGW)
93
endif()
94
95
if(UNIX AND NOT APPLE)
96
- check_support(HAS_DL_FIND_OBJECT has_dl_find_object.cpp "" "" "")
+ check_support(HAS_DL_FIND_OBJECT has_dl_find_object.cpp "" "dl" "")
97
if(NOT HAS_DL_FIND_OBJECT)
98
- check_support(HAS_DLADDR1 has_dladdr1.cpp "" "" "")
+ check_support(HAS_DLADDR1 has_dladdr1.cpp "" "dl" "")
99
100
101
cmake/has_dladdr1.cpp
@@ -1,4 +1,5 @@
1
#include <dlfcn.h>
2
+#include <link.h>
3
4
int main() {
5
Dl_info info;
0 commit comments