From 16f78b39c679f1e2171ee37bcfabe7dda91b702d Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 20 Dec 2005 08:47:40 +0000 Subject: [PATCH] Linux: Removed the unnecessary RTLD_GLOBAL flag from the dynamic loading of libGL.so --- src/native/linux/extgl_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/linux/extgl_glx.c b/src/native/linux/extgl_glx.c index 0df154c0..0ff47c10 100644 --- a/src/native/linux/extgl_glx.c +++ b/src/native/linux/extgl_glx.c @@ -154,7 +154,7 @@ bool extgl_Open(JNIEnv *env) { char buffer[BUFFER_SIZE]; if (lib_gl_handle != NULL) return true; - lib_gl_handle = dlopen("libGL.so.1", RTLD_LAZY | RTLD_GLOBAL); + lib_gl_handle = dlopen("libGL.so.1", RTLD_LAZY); if (lib_gl_handle == NULL) { snprintf(buffer, BUFFER_SIZE, "Error loading libGL.so.1: %s", dlerror()); buffer[BUFFER_SIZE - 1] = '\0';