egl: use RTLD_LAZY
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user