mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 09:55:35 +00:00
Fix tests configuration and building when only GLVND full OpenGL implementation is present.
This commit is contained in:
parent
7d1b9c9f15
commit
e6b87005c1
|
@ -80,7 +80,15 @@ case "$host" in
|
||||||
ISUNIX="true"
|
ISUNIX="true"
|
||||||
EXE=""
|
EXE=""
|
||||||
MATHLIB="-lm"
|
MATHLIB="-lm"
|
||||||
|
dnl Use the new libOpenGL if present.
|
||||||
|
have_glvnd=no
|
||||||
|
AC_CHECK_LIB(OpenGL, glBegin,
|
||||||
|
[
|
||||||
|
dnl have_glvnd=yes
|
||||||
|
SYS_GL_LIBS="-lOpenGL"
|
||||||
|
],[
|
||||||
SYS_GL_LIBS="-lGL"
|
SYS_GL_LIBS="-lGL"
|
||||||
|
])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_SUBST(EXE)
|
AC_SUBST(EXE)
|
||||||
|
|
Loading…
Reference in a new issue