|
From: Elias N. <eli...@us...> - 2005-12-20 08:47:49
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31397 Modified Files: extgl_glx.c Log Message: Linux: Removed the unnecessary RTLD_GLOBAL flag from the dynamic loading of libGL.so Index: extgl_glx.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/extgl_glx.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- extgl_glx.c 22 Nov 2005 14:03:52 -0000 1.10 +++ extgl_glx.c 20 Dec 2005 08:47:40 -0000 1.11 @@ -154,7 +154,7 @@ 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'; |