mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 09:58:05 +02:00
Properly revert the libGL loader path breakage.
This commit is contained in:
parent
03db9c8acb
commit
b0f8025434
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ static void *OpenDriver(const char *driverName)
|
|||
/* Attempt to make sure libGL symbols will be visible to the driver */
|
||||
glhandle = dlopen("libGL.so.1", RTLD_NOW | RTLD_GLOBAL);
|
||||
|
||||
libPaths = NULL;
|
||||
if (geteuid() == getuid()) {
|
||||
/* don't allow setuid apps to use LIBGL_DRIVERS_PATH */
|
||||
libPaths = getenv("LIBGL_DRIVERS_PATH");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue