glamor: Use -lgl for Xephyr if GLX is unset.
I'm experimenting with that because of conflicts with GL dispatch tables.
This commit is contained in:
parent
8885b3b1ff
commit
41e3e580de
|
@ -1998,6 +1998,10 @@ if test "$KDRIVE" = yes; then
|
||||||
if test "x$DRI" = xyes && test "x$GLX" = xyes; then
|
if test "x$DRI" = xyes && test "x$GLX" = xyes; then
|
||||||
XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm"
|
XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm"
|
||||||
fi
|
fi
|
||||||
|
# The glamor stuff requires libGL, but that conflicts with GLX currently.
|
||||||
|
if test "x$GLX" = xno; then
|
||||||
|
XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS gl"
|
||||||
|
fi
|
||||||
|
|
||||||
PKG_CHECK_MODULES(XEPHYR, $XEPHYR_REQUIRED_LIBS, [xephyr="yes"], [xephyr="no"])
|
PKG_CHECK_MODULES(XEPHYR, $XEPHYR_REQUIRED_LIBS, [xephyr="yes"], [xephyr="no"])
|
||||||
if test "x$XEPHYR" = xauto; then
|
if test "x$XEPHYR" = xauto; then
|
||||||
|
|
Loading…
Reference in New Issue