mesa/src/egl
Eric Anholt 4556c73470 loader: Use dlsym to get our udev symbols instead of explicit linking.
Steam links against libudev.so.0, while we're linking against
libudev.so.1.  The result is that the symbol names (which are the same in
the two libraries) end up conflicting, and some of the usage of .so.1
calls the .so.0 bits, which have different internal structures, and
segfaults happen.

By using a dlopen() with RTLD_LOCAL, we can explicitly look for the
symbols we want, while they get the symbols they want.

Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Tested-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
2014-01-27 09:36:24 -08:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers egl_dri2: use loader util lib 2014-01-18 18:47:49 +00:00
main loader: Use dlsym to get our udev symbols instead of explicit linking. 2014-01-27 09:36:24 -08:00
wayland wayland: silence unused var warning 2013-10-30 12:50:09 -07:00
Makefile.am gbm: Link to libwayland-drm if Wayland EGL platform is enabled 2013-08-12 15:16:22 -07:00