From 2dbb8e48ee6d69ce4424095d6f8a41719c73bda2 Mon Sep 17 00:00:00 2001 From: loonycyborg Date: Thu, 31 May 2018 21:36:41 +0300 Subject: [PATCH] Change GL include in scons check so it actually works under mingw (cherry-picked from commit f53237b20f09eba6701a90f7b5be81515317fc0d) --- scons/gl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scons/gl.py b/scons/gl.py index a62aa527bd6..3d38c3fd4ec 100644 --- a/scons/gl.py +++ b/scons/gl.py @@ -9,7 +9,7 @@ def CheckOpenGL(context): if env["PLATFORM"] == "win32": env.AppendUnique(LIBS = ["opengl32"]) - test_program += "#include \n" + test_program += "#include \n#include \n" elif env["PLATFORM"] == "darwin": env.AppendUnique(FRAMEWORKS = "OpenGL") test_program += "#include \n"