projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8943a56
)
util: use RTLD_LOCAL with util_dl_open()
author
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 16 Oct 2015 19:34:52 +0000
(20:34 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:21 +0000
(12:52 +0000)
Otherwise we risk things blowing up due to conflicting symbols.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/auxiliary/util/u_dl.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_dl.c
b/src/gallium/auxiliary/util/u_dl.c
index
aca435d
..
9b97d8d
100644
(file)
--- a/
src/gallium/auxiliary/util/u_dl.c
+++ b/
src/gallium/auxiliary/util/u_dl.c
@@
-45,7
+45,7
@@
struct util_dl_library *
util_dl_open(const char *filename)
{
#if defined(PIPE_OS_UNIX)
- return (struct util_dl_library *)dlopen(filename, RTLD_LAZY | RTLD_
GLOB
AL);
+ return (struct util_dl_library *)dlopen(filename, RTLD_LAZY | RTLD_
LOC
AL);
#elif defined(PIPE_OS_WINDOWS)
return (struct util_dl_library *)LoadLibraryA(filename);
#else