[vlc-commits] OpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.

Adrien Maglo git at videolan.org
Sun Aug 18 23:10:52 CEST 2013


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Sun Aug 18 23:06:09 2013 +0200| [abf5bf99808f0d7308ff6ef2543dce7a83810af3] | committer: Adrien Maglo

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abf5bf99808f0d7308ff6ef2543dce7a83810af3
---

 configure.ac |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 44fa27d..fca0148 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"
   ])



More information about the vlc-commits mailing list