mirror of https://github.com/encounter/SDL.git
Merge commit 'e6b87005c1da22a0d354619eebca53c6e2639cdd' into main
This commit is contained in:
commit
f83ce7c5fb
|
@ -80,7 +80,15 @@ case "$host" in
|
|||
ISUNIX="true"
|
||||
EXE=""
|
||||
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"
|
||||
])
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(EXE)
|
||||
|
|
Loading…
Reference in New Issue