mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
Fix build of swrast only without libdrm
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
(cherry picked from commit 998d975e38)
This commit is contained in:
parent
887aaa9b4d
commit
ca79663f92
1 changed files with 1 additions and 1 deletions
|
|
@ -1078,7 +1078,7 @@ if test "x$enable_dri" = xyes; then
|
|||
fi
|
||||
|
||||
# if we are building any dri driver other than swrast or using the dri state tracker ...
|
||||
if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast || test "x$enable_dri" = xyes; then
|
||||
if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast -a "x$enable_dri" = xyes; then
|
||||
# ... libdrm is required
|
||||
if test "x$have_libdrm" != xyes; then
|
||||
AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue