egl: use RTLD_LAZY
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:21:28 +0000 (09:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Jun 2008 15:22:01 +0000 (09:22 -0600)
src/egl/main/egldriver.c

index 5ecfb9eb306cdd1be24309d3c2261360df906f84..4a611b9fc971ee153f19a8b1a03a4b6e60d4acbd 100644 (file)
@@ -183,7 +183,7 @@ _eglOpenDriver(_EGLDisplay *dpy, const char *driverName, const char *args)
    /* XXX also prepend a directory path??? */
    sprintf(driverFilename, "%s.so", driverName);
    _eglLog(_EGL_DEBUG, "dlopen(%s)", driverFilename);
-   lib = dlopen(driverFilename, RTLD_NOW);
+   lib = dlopen(driverFilename, RTLD_LAZY);
 #endif
 
    if (!lib) {