On 06/07/15 11:33, Chris Wilson wrote: > Since there was an ABI break and linking twice against libudev.so.0 and > libudev.so.1 causes the application to quickly crash, we first check if > the application is currently linked against libudev before dlopening a > local handle. However for backwards/forwards compatability, we need to > inspect the application for current linkage against all known versions > first. > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> I'm ever so slightly conserned that RTLD_NOLOAD is not part of the POSIX standard, thus it's missing on some platforms (*BSD seems ok, while Solaris, MacOS are not).
Then again this code is not build for them so we are safe. Plus it does save nastry crashes :-) Feel free to add the Cc: mesa-stable tag. Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Note(s) so self: 1) what was the main obstactle for dropping libudev and sysfs 2) all that handling is completely broken in our configure.ac :-\ -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev