OpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.

This commit is contained in:
Adrien Maglo 2013-08-18 23:06:09 +02:00
parent fcb251b66a
commit abf5bf9980
1 changed files with 5 additions and 1 deletions

View File

@ -2941,7 +2941,11 @@ PKG_CHECK_MODULES([GL], [gl], [
AC_CHECK_HEADER([GL/gl.h], [
have_gl="yes"
GL_CFLAGS=""
GL_LIBS="-lGL"
AS_IF([test "${SYS}" = "mingw32"], [
GL_LIBS="-lopengl32"
], [
GL_LIBS="-lGL"
])
], [
have_gl="no"
])