summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index 6002e1d4fc..f06f115f5f 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -129,7 +129,11 @@
"label": "dlopen()",
"test": {
"include": "dlfcn.h",
- "main": "dlopen(0, 0);"
+ "main": [
+ "dlclose(dlopen(0, 0));",
+ "dlsym(RTLD_DEFAULT, 0);",
+ "dlerror();"
+ ]
},
"sources": [
"",