[Piglit] [PATCH 3/6] dispatch: kill off RTLD_LOCAL
Emil Velikov
emil.l.velikov at gmail.com
Mon Jun 27 16:58:02 UTC 2016
From: Emil Velikov <emil.velikov at collabora.com>
The symbol is already the default, thus there's no need to specify it.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
tests/util/piglit-dispatch-init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/util/piglit-dispatch-init.c b/tests/util/piglit-dispatch-init.c
index 1aae2be..7ae512b 100644
--- a/tests/util/piglit-dispatch-init.c
+++ b/tests/util/piglit-dispatch-init.c
@@ -172,7 +172,7 @@ do_dlsym(void **handle, const char *lib_name, const char *function_name)
void *result;
if (!*handle)
- *handle = dlopen(lib_name, RTLD_LAZY | RTLD_LOCAL);
+ *handle = dlopen(lib_name, RTLD_LAZY);
if (!*handle) {
fprintf(stderr, "Could not open %s: %s\n", lib_name, dlerror());
--
2.8.2
More information about the Piglit
mailing list