Eliminate RTLD_GLOBAL glapi hacks after removing support for static libglapi
Submitted by Alexander Monakov
Assigned to mes..@..op.org
Description
This is an enhancement request for the time when support for static libglapi is removed. When shared libglapi is guaranteed to be available, please:
-
Link DRI drivers with libglapi.so explicitely.
-
Remove dlopen("libglapi.so"/"libGL.so", RTLD_GLOBAL) hacks in src/egl/drivers/dri2/egl_dri2.c and src/glx/dri_common.c. The latter hack has unfortunate interactions with libGL interposers.
Version: git