mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
build: Link DRI drivers with dricore in case of no direct rendering
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
bfd7d6f58b
commit
bee2edbf3d
1 changed files with 3 additions and 10 deletions
13
configure.ac
13
configure.ac
|
|
@ -916,17 +916,10 @@ GLAPI_LIB_DEPS="-lpthread $SELINUX_LIBS"
|
||||||
AC_SUBST([GLAPI_LIB_DEPS])
|
AC_SUBST([GLAPI_LIB_DEPS])
|
||||||
|
|
||||||
|
|
||||||
dnl dri libraries are linking with mesa
|
DRI_LIB_DEPS="\$(top_builddir)/src/mesa/libdricore/libdricore${VERSION}.la"
|
||||||
DRI_LIB_DEPS='$(TOP)/src/mesa/libmesa.la'
|
GALLIUM_DRI_LIB_DEPS="\$(TOP)/\$(LIB_DIR)/libdricore${VERSION}.so"
|
||||||
GALLIUM_DRI_LIB_DEPS='$(TOP)/src/mesa/libmesa.a'
|
|
||||||
|
|
||||||
dnl ... or dricore?
|
AM_CONDITIONAL(HAVE_DRICORE, test "x$enable_dri" = xyes)
|
||||||
if test "x$enable_dri" = xyes && test "x$driglx_direct" = xyes ; then
|
|
||||||
DRI_LIB_DEPS="\$(TOP)/src/mesa/libdricore/libdricore${VERSION}.la"
|
|
||||||
GALLIUM_DRI_LIB_DEPS="\$(TOP)/\$(LIB_DIR)/libdricore${VERSION}.so"
|
|
||||||
HAVE_DRICORE=yes
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(HAVE_DRICORE, test x$HAVE_DRICORE = xyes)
|
|
||||||
|
|
||||||
AC_SUBST([HAVE_XF86VIDMODE])
|
AC_SUBST([HAVE_XF86VIDMODE])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue