mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
glx: Check HAVE_XF86VIDMODE before adding it as an implicit link
library.
This commit is contained in:
parent
db78643182
commit
6479922499
1 changed files with 5 additions and 1 deletions
|
|
@ -883,7 +883,11 @@ dri|no) # these checks are still desired when there is no mesa_driver
|
|||
else
|
||||
# should check these...
|
||||
X11_INCLUDES="$X11_INCLUDES $X_CFLAGS"
|
||||
GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXxf86vm -lXdamage -lXfixes"
|
||||
if test "x$HAVE_XF86VIDMODE" == xyes; then
|
||||
GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXxf86vm -lXdamage -lXfixes"
|
||||
else
|
||||
GL_LIB_DEPS="$X_LIBS -lX11 -lXext -lXdamage -lXfixes"
|
||||
fi
|
||||
GL_PC_LIB_PRIV="$GL_LIB_DEPS"
|
||||
GL_PC_CFLAGS="$X11_INCLUDES"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue