mirror of https://gitlab.freedesktop.org/mesa/mesa
configure: explicitly require shared glapi for enable-dri
We've been using and depending on it for at least a couple of years. Make it obvious and error out, should one opt for it. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
b628fdd6e7
commit
da410e6afa
|
@ -1585,9 +1585,7 @@ if test "x$enable_shader_cache" = "xyes"; then
|
|||
fi
|
||||
|
||||
if test "x$enable_dri" = xyes; then
|
||||
if test "$enable_static" = yes; then
|
||||
AC_MSG_ERROR([Cannot use static libraries for DRI drivers])
|
||||
fi
|
||||
require_dri_shared_libs_and_glapi "DRI"
|
||||
|
||||
# not a hard requirement as swrast does not depend on it
|
||||
if test "x$have_libdrm" = xyes; then
|
||||
|
|
Loading…
Reference in New Issue