[Mesa-dev,07/16] util: dlopen change to RTLD_NOW and LOCAL

Submitted by David Heidelberger on Oct. 18, 2014, 11:54 a.m.

Details

Message ID 1413633306-12702-8-git-send-email-david.heidelberger@ixit.cz
State New
Headers show

Not browsing as part of any series.

Commit Message

David Heidelberger Oct. 18, 2014, 11:54 a.m.
From: Christoph Bumiller <christoph.bumiller@speed.at>

Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
---
 src/gallium/auxiliary/util/u_dl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/gallium/auxiliary/util/u_dl.c b/src/gallium/auxiliary/util/u_dl.c
index aca435d..86f4d43 100644
--- 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_GLOBAL);
+   return (struct util_dl_library *)dlopen(filename, RTLD_NOW | RTLD_LOCAL);
 #elif defined(PIPE_OS_WINDOWS)
    return (struct util_dl_library *)LoadLibraryA(filename);
 #else