Created attachment 37100 [details] [review] Fix makefiles and configure.ac src/Gallium/winsys/drm/Makefile.egl links driver with libdl for functions of dlopen family. But, they are in libc for FreeBSD platform. It make Mesa fail to build EGL drivers based on Gallium.
Thanks for the patch. I've made some minor changes (moving DLOPEN_LIBS closer to other XXX_LIBS, define DLOPEN_LIBS in configs/default) and committed it to both master and 7.8 branches. As I could not test it, please reopen the bug if I messed up.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.